18.10.2014, 18:24
I got this error:
This is the whole thing.
I need help asap
Код:
C:\Users\Nikola\Desktop\SAIMP\WeaponShop.pwn(374) : error 017: undefined symbol "x" C:\Users\Nikola\Desktop\SAIMP\WeaponShop.pwn(376) : error 017: undefined symbol "x" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Errors.
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/ammu", cmdtext, true, 5) == 0)
{
SetPlayerInterior(playerid, 6);
SetPlayerPos(playerid, 316.524993,-167.706985,999.593750);
return 1;
}
if (strcmp("/return", cmdtext, true, 5) == 0)
{
GetPlayerPos(playerid, x, y, z);
SetPlayerInterior(playerid, 0);
SetPlayerPos(playerid, x, y, z);
}
return 0;
}


