0 Members and 1 Guest are viewing this topic.
I dont know to make
else if ( strcmp( cmd, "slap", true ) == 0 ) { tmp = strtok( cmdtext, idx ); new plr = FindPlayerIDFromString( tmp ); if ( !strlen( tmp ) ) SendClientMessage( playerid, -1, "Use: /c Slap [Nick/ID]" ); else if ( plr == INACTIVE_PLAYER_ID ) SendClientMessage( playerid, -1, "[Error]: Invalid Player" ); else { new Float:x, Float:y, Float:z; GetPlayerPos( plr, x, y, z ); SetPlayerPos( plr, x, y + 10.0, z, 0, 0 ); } return 1; }