/eject fail - ID 0 gets ejected too
#1

Код:
  if(!strcmp(cmd, "/eject", true))
	{
		new Float:pX,Float:pY,Float:pZ;
 		SendPlayerFormattedText(playerid,":::::::::::::::::::::::::::::::::::::::::::::::",0);
    SendClientMessage(playerid, COLOR_YELLOW	, "EMERGENCY EXIT activated");
    SendPlayerFormattedText(playerid,":::::::::::::::::::::::::::::::::::::::::::::::",0);
  	new name[MAX_PLAYER_NAME], string[128];
  	GetPlayerName(playerid, name, sizeof(name));
  	format(string, sizeof(string), "[!] %s used emergency exit (/eject) to outrun death. [!]", name );
		SendClientMessageToAll(RED, string);
		GetPlayerPos(giveplayerid,pX,pY,pZ);
	  SetPlayerPos(giveplayerid,pX,pY,pZ+10);
	  GivePlayerWeapon(playerid, 46, 1);
		return 1;
	}
Whats wrong here? If someone uses /eject, ID 0 gets slapped too..
Reply


Messages In This Thread
/eject fail - ID 0 gets ejected too - by Striker_Moe - 18.09.2009, 11:50
Re: /eject fail - ID 0 gets ejected too - by [HiC]TheKiller - 18.09.2009, 12:00
Re: /eject fail - ID 0 gets ejected too - by Striker_Moe - 18.09.2009, 12:01
Re: /eject fail - ID 0 gets ejected too - by [HiC]TheKiller - 18.09.2009, 12:02
Re: /eject fail - ID 0 gets ejected too - by Correlli - 18.09.2009, 12:37
Re: /eject fail - ID 0 gets ejected too - by Blades - 18.09.2009, 14:33
Re: /eject fail - ID 0 gets ejected too - by Sznupek - 18.09.2009, 15:17
Re: /eject fail - ID 0 gets ejected too - by Correlli - 18.09.2009, 15:19
Re: /eject fail - ID 0 gets ejected too - by Karlip - 18.09.2009, 15:23
Re: /eject fail - ID 0 gets ejected too - by Sznupek - 18.09.2009, 16:08

Forum Jump:


Users browsing this thread: 1 Guest(s)