Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este FILTERSCRIPT sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
- * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this FILTERSCRIPT without my permission.
- */
- #include <a_samp>
- #include <streamer> //http://forum.sa-mp.com/showthread.php?t=102865
- // sample image 1: ---> http://img41.imageshack.us/img41/6592/bbaq.png
- // sample image 2: ---> http://img41.imageshack.us/img41/1251/olql.png
- #define DISTANCE_TAG 10.0
- #define NAME_SERVER "[City Troll]"
- #define COLOR_NICK "{ECE700}"
- #define COLOR_ID "{BB00FF}"
- #define COLOR_SERVER "{FF0000}"
- new Text3D:NewTagName[MAX_PLAYERS];
- public OnFilterScriptInit(){
- ShowNameTags(false);
- return true;
- }
- public OnPlayerText(playerid, text[]){
- //SetPlayerChatBubble(playerid,text,-1,DISTANCE_TAG,15*1000);
- return true;
- }
- public OnPlayerSpawn(playerid){
- if(!IsPlayerConnected(playerid)) return true;
- if(IsPlayerAdmin(playerid)) return true;
- if(IsPlayerNPC(playerid)) return true;
- DestroyDynamic3DTextLabel(NewTagName[playerid]);
- NewTagName[playerid]=CreateDynamic3DTextLabel("",-1,0.0, 0.0, 0.45,DISTANCE_TAG,playerid);
- return true;
- }
- public OnPlayerDisconnect(playerid, reason){
- DestroyDynamic3DTextLabel(NewTagName[playerid]);
- return true;
- }
- public OnPlayerUpdate(playerid){
- if(!IsPlayerConnected(playerid)) return true;
- if(IsPlayerAdmin(playerid)) return true;
- if(IsPlayerNPC(playerid)) return true;
- new data[90],name[25];
- GetPlayerName(playerid,name,sizeof(name));
- format(data,sizeof(data),""COLOR_SERVER""NAME_SERVER"\n"COLOR_NICK"%s"COLOR_ID"[%d]",name,playerid);
- UpdateDynamic3DTextLabelText(NewTagName[playerid],-1,data);
- return true;
- }
- /*
- * ## LEASE ATENTAMENTE PARA NO CONVERTIRSE EN LAMMER!!.: :D ##
- *
- * Estè Simple FILTERSCRIPT esta hecho especialmente para www.forum.sa-mp.com
- * NO Publicar estè FILTERSCRIPT en Otros foros de SA-MP y hacerse pasar por el creador del CODE.
- *
- * Codigo Creado Por OTACON
- *
- * CREDITOS:
- * OTACON: Realizacion y Idea de creacion del code.
- * TÙ: Modificacion libremente respetando lo mencionado ;).
- *
- * NOTA: Menos Creditos para los que me los critican.. JO'PUTAS! :D xD ;)
- *
- * Prohibido TOTALMENTE el Robo de Créditos o la
- * Publicación de este FILTERSCRIPT sin Mi Permiso.
- */
- /*
- * ## READ CAREFULLY TO AVOID BECOMING LAMMER!.: :D ##
- *
- * This simple FILTERSCRIPT is made especially for www.forum.sa-mp.com
- * DO NOT Post the FILTERSCRIPT in Other SAMP forums and impersonating the creator of the CODE.
- *
- * Code Created By OTACON
- *
- * CREDITS:
- * OTACON: Idea Making and code creation.
- * YOUR: Modification freely respecting the above ;).
- *
- * NOTE: Less Credits for those who criticize me.. JO'PUTAS! :D xD ;)
- *
- * FULLY spaces Theft Credit or
- * Publication of this FILTERSCRIPT without my permission.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement