Scarred

Untitled

Aug 4th, 2011
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. new
  2. PlayerInEvent[MAX_PLAYERS] = -1,
  3. Float:EventPosition[4],
  4. EventReward,
  5. EventWeapon;
  6. ;
  7.  
  8. if (strcmp("/startlms", cmdtext, true) == 0) {
  9. new
  10. Float:Position[3],
  11. WeaponID,
  12. Reward;
  13.  
  14. if(sscanf(params, "ii", WeaponID, Reward))
  15. return SendClientMessage(playerid, -1, "Usage: /startlms [Weapon ID]");
  16.  
  17. GetPlayerPos(playerid, EventPosition[0], EventPosition[1], EventPosition[2]);
  18. GetPlayerFacingAngle(playerid, EventPosition[3]);
  19. EventReward = Reward;
  20. EventWeapon = WeaponID;
  21.  
  22. format(string, sizeof(string), "Blah blah blah has started the event! /joinlms to join!");
  23. SendClientMessageToAll(-1, string);
  24. return true;
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment