Advertisement
NoureddineNasr

Text After Playername

May 29th, 2016
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. #include <a_samp>
  2. #pragma tabsize 0
  3. #if defined FILTERSCRIPT
  4.  
  5. public OnFilterScriptInit()
  6. {
  7. print("\n----------------------------------");
  8. print("Text After PlayerName Made 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("Text After PlayerName Made 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 ||GetPlayerSkin(playerid) == 106 ||GetPlayerSkin(playerid) == 107)
  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