Somebody can give me the code to /kill command?
#10

that will never work open you're gamemode and copy that under
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  if( !strcmp( cmdtext, "/kill", true ) == 0 ) //Like this
  {
    SetPlayerHealth( playerid, 0.0 );
    return true;
  }
  return false;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)