About Error's Help Me
#1

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.
Reply
#2

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.
Reply
#3

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

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);
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)