Advertisement
Guest User

[FS] a text behind name of player

a guest
Aug 15th, 2014
550
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. #if defined FILTERSCRIPT
  4.  
  5. public OnFilterScriptInit()
  6. {
  7. print("\n--------------------------------------");
  8. print(" Behind Name Player A Text By SkillNasr");
  9. print("--------------------------------------\n");
  10. return 1;
  11. }
  12.  
  13. public OnFilterScriptExit()
  14. {
  15. return 1;
  16. }
  17.  
  18. #else
  19.  
  20. main()
  21. {
  22. print("\n----------------------------------");
  23. print(" Behind Name Player A Text By SkillNasr");
  24. print("----------------------------------\n");
  25. }
  26.  
  27. #endif
  28.  
  29. public OnPlayerText(playerid, text[])
  30. {
  31. new pname[24];
  32. new string[128];
  33. GetPlayerName(playerid,pname,sizeof(pname));
  34.  
  35. if(GetPlayerSkin(playerid) == 105 )
  36. {
  37. format(string,sizeof(string),"%s {009103}*SA-MP FORUM*{FFFFFF}: %s",pname,text); //Here Text on Green
  38. SendClientMessageToAll(0xFFFFFFAA,string);
  39. return 0;
  40. }
  41. return 1;
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement