error 017: undefined symbol "tmp"
#1

hello am having this little issus error and also its a command it was DCMD i used a filterscript that converts DCMD to CMD and i added it to my script and now i get this error error 017: undefined symbol "tmp"



The command is here

Код:
CMD:gotobiz(playerid, params[])
		{
	    if(PlayerInfo[playerid][pAdmin] >= 1337)
	    {
			new bull = strval(tmp);
			if(bull <= 0 || bull > MAX_BUSINESSES)
			{
			    return SendClientMessage(playerid, -1, "Invalid biz ID!");
			}
			new bleh[128];
			format(bleh,sizeof(bleh),"Teleported to biz ID %d!",bull);
			SendClientMessage(playerid, -1, bleh);
            Teleport(playerid, BizzInfo[bull][bEntranceX], BizzInfo[bull][bEntranceY], BizzInfo[bull][bEntranceZ], 0.0, 0,0, 0);
            return 1;
		}
		else
		{
		    return SendClientMessage(playerid, -1, "   You're not authorized to use that command!");
		}
	}
Reply


Messages In This Thread
error 017: undefined symbol "tmp" - by Yves - 07.02.2013, 21:09
Re: error 017: undefined symbol "tmp" - by kaisersouse - 07.02.2013, 21:16
Re: error 017: undefined symbol "tmp" - by Yves - 07.02.2013, 21:21
Re: error 017: undefined symbol "tmp" - by kaisersouse - 07.02.2013, 21:35
Re: error 017: undefined symbol "tmp" - by Yves - 07.02.2013, 21:46
Re: error 017: undefined symbol "tmp" - by kaisersouse - 07.02.2013, 21:49
Re: error 017: undefined symbol "tmp" - by Yves - 07.02.2013, 21:51

Forum Jump:


Users browsing this thread: 1 Guest(s)