Scarred

Last Man Standing - Scarred

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