SA-MP Forums Archive
CMD Error? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: CMD Error? (/showthread.php?tid=556975)



CMD Error? - Tuntun - 12.01.2015

Whats wrong in this cmd?
:
Код:
CMD:gotob(playerid, params[])
{
	if (playerInfo[playerid][pAdmin] >= 1)
	{
	    SetPlayerPos(playerid, 1980.0750,-1991.0996,13.5469);
		return 1;
}



Re: CMD Error? - Ironboy - 12.01.2015

pawn Код:
CMD:gotob(playerid, params[])
{
    if (playerInfo[playerid][pAdmin] >= 1)
    {
        SetPlayerPos(playerid, 1980.0750,-1991.0996,13.5469);
    } //you've missed this bracket
    return 1;
}



Re: CMD Error? - Tuntun - 12.01.2015

Thank you mate. +rep.