sa-mp

SA-MP Death system [Developement Mode]

Apr 13th, 2011
1,317
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.21 KB | None | 0 0
  1. public OnPlayerCommandText
  2. {
  3.   if( strcmp( cmdtext, "/kill", true ) == 0)
  4.   {
  5.   // You commit sucide
  6.   SetPlayerHealth(playerid, 0)
  7.   SendClientMessage(playerid, COLOR_RED, "You killed yourself")
  8.   }
  9.  }
Advertisement
Add Comment
Please, Sign In to add comment