SA-MP Forums Archive
About Error's Help Me - 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: About Error's Help Me (/showthread.php?tid=381188)



About Error's Help Me - yarin0600 - 28.09.2012

Hey I made new case of new interior that's the code of that case :
Код:
Streamer_UpdateEx(playerid,1475.00 -1749.36 3285.28);
That's the line of the error's 8624.


That's the code of the Pawno Error's Compile
Код:
d:\Users\User\Desktop\GameMode(1_\Gamemode\gamemodes\Model.pwn(8624) : error 001: expected token: ",", but found "-rational value-"
d:\Users\User\Desktop\GameMode(1_\Gamemode\gamemodes\Model.pwn(8624) : warning 215: expression has no effect
d:\Users\User\Desktop\GameMode(1_\Gamemode\gamemodes\Model.pwn(8624) : error 001: expected token: ";", but found ")"
d:\Users\User\Desktop\GameMode(1_\Gamemode\gamemodes\Model.pwn(8624) : error 029: invalid expression, assumed zero
d:\Users\User\Desktop\GameMode(1_\Gamemode\gamemodes\Model.pwn(8624) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.



Re: About Error's Help Me - zombieking - 28.09.2012

pawn Код:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
Ehem.. so that would make it:

pawn Код:
Streamer_UpdateEx(playerid,1475.00,-1749.36,3285.28);
Conclusion: You forgot the commas.


Re: About Error's Help Me - yarin0600 - 28.09.2012

But what about world id and interior id / ? SO I need change somethang in my code or just add the native ?


Re: About Error's Help Me - zombieking - 28.09.2012

You must change it.. world id is the virtual world, interior id is self explanatory, basically you should replace that code with the following:

pawn Код:
Streamer_UpdateEx(playerid,1475.00,-1749.36,3285.28);