SA-MP Forums Archive
Need help with a cmd. - 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: Need help with a cmd. (/showthread.php?tid=448764)



Need help with a cmd. - SwisherSweet - 05.07.2013

So i have this stock GetRandomMap im trying to make /rmap but what my problem is when i do GetRandomMap() it gives errors need help please.

Код:
CMD:rmap(playerid,params[])
{
    if(Info[playerid][Level] < 2) return 0;
GetRandomMap()
	return 1;
}
I have no idea if im doing this right...


Re: Need help with a cmd. - DaRk_RaiN - 05.07.2013

pawn Код:
CMD:rmap(playerid,params[])
{
    if(Info[playerid][Level] < 2) return 0;
    GetRandomMap();
    return 1;
}



Re: Need help with a cmd. - ScRipTeRi - 05.07.2013

what error he give you?