SA-MP Forums Archive
hello small problem here (with code and all stuff) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: hello small problem here (with code and all stuff) (/showthread.php?tid=260924)



hello small problem here (with code and all stuff) - trapped1 - 11.06.2011

Код:
error 029: invalid expression, assumed zero
and now is the stuff where is smth. wrong


Код:
	

        else if(gTeam[playerid] == TEAM_tdb) // this is the line :)
  	{
    	     SetPlayerPos(playerid, 255.0295,77.3840,1003.6406);
  	}



Re: hello small problem here (with code and all stuff) - DRIFT_HUNTER - 11.06.2011

Check your TEAM_tdb at top of the script (sometimes i add a team but i dont add ID)

pawn Код:
TEAM_tdb     // Wrong
TEAM_tdb 1  // Right



Re: hello small problem here (with code and all stuff) - trapped1 - 11.06.2011

thank you mate just my fault! and thanks for your time