A problem with a system i made- - 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: A problem with a system i made- (
/showthread.php?tid=148095)
A problem with a system i made- -
Apply - 15.05.2010
I get this error-
(179) : warning 213: tag mismatch
here is the line-
SetPlayerPos(GlassSpawns[rand][0],GlassSpawns[rand][1],GlassSpawns[rand][2],GlassSpawns[rand][3]);
Re: A problem with a system i made- -
juice.j - 15.05.2010
SetPlayerPos(playerid,...
Re: A problem with a system i made- -
Apply - 15.05.2010
i did that it said, i didnt define playerid,
so i used (i,...
and it says-
(180) : warning 202: number of arguments does not match definition
Re: A problem with a system i made- -
juice.j - 15.05.2010
https://sampwiki.blast.hk/wiki/SetPlayerPos
Change "playerid" with whatever your variable for the respective playerid is in that case and each coordination with your GlassSpawns variables.
Re: A problem with a system i made- -
Norck - 15.05.2010
Try:
pawn Код:
SetPlayerPos(i,GlassSpawns[rand][0],GlassSpawns[rand][1],GlassSpawns[rand][2]);
This should work if you use 'i' instead of 'playerid'. And there is must be only 3 coords after it: x, y and z
Re: A problem with a system i made- -
Apply - 15.05.2010
Thanks bro!