Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerCommandText
- {
- if( strcmp( cmdtext, "/kill", true ) == 0)
- {
- // You commit sucide
- SetPlayerHealth(playerid, 0)
- SendClientMessage(playerid, COLOR_RED, "You killed yourself")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment