Guest User

Untitled

a guest
Jan 9th, 2012
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.12 KB | None | 0 0
  1. /************************/
  2. /* Zaideju RACIJA */
  3. /* By *Weed* */
  4. /* Jis skirta bendrauti */
  5. /* zaidejams tarpusavi */
  6. /* neprivaziavus ar */
  7. /* nepriejus vieniems */
  8. /* prie kitu. */
  9. /************************/
  10.  
  11. #include <a_samp>
  12.  
  13. #if defined FILTERSCRIPT
  14.  
  15.  
  16. public OnFilterScriptInit()
  17. {
  18. print("\n--------------------------------------");
  19. print(" Zaideju RACIJA by *WeeD* ");
  20. print("-------------------------------------\n");
  21. return 1;
  22. }
  23.  
  24. public OnFilterScriptExit()
  25. {
  26. return 1;
  27. }
  28.  
  29. #else
  30.  
  31. public OnPlayerCommandText(playerid, cmdtext[])
  32. {
  33. if (strcmp("/e", cmdtext, true, 10) == 0)
  34. {
  35. if(!cmdtext[3]) return ShowPlayerDialog(playerid,100,DIALOG_STYLE_MSGBOX,"Zaideju RACIJA","Parases komanda /e [tekstas] galesi susirasineti su kitais zaidejais\nprie ju neprivaziaves ar nepriejes, jie visi matys\ntavo zinute kai tu jiems parasysi!","Gerai","");
  36.  
  37. new msg[128],name[MAX_PLAYER_NAME];
  38. GetPlayerName(playerid,name,sizeof(name));
  39. format(msg,sizeof(msg),"[Zaideju RACIJA] {008000}%s: {FFFFFF}%s",name,cmdtext[3]);
  40. return 1;
  41. }
  42. return 0;
  43. }
  44.  
  45. #endif
Advertisement
Add Comment
Please, Sign In to add comment