06.09.2009, 08:35
Quote:
Originally Posted by Mo3
Код:
if(strcmp(cmd, "/eexit", true) == 0) { new Float:pX,Float:pY,Float:pZ; SendPlayerFormattedText(playerid,"::::::::::::::::::::::::::::::::::::::::::::",0); SendClientMessage(playerid, COLOR_YELLOW , "EMERGENCY EXIT activated"); SendPlayerFormattedText(playerid,"::::::::::::::::::::::::::::::::::::::::::::",0); GetPlayerPos(giveplayerid,pX,pY,pZ); SetPlayerPos(giveplayerid,pX,pY,pZ+20); GivePlayerWeapon(playerid, 46, 1); return 1; } Whats wrong? |
SetPlayerPos(playerid,pX,pY,pZ+20);