i get this 4 error when complied - 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: i get this 4 error when complied (
/showthread.php?tid=259923)
i get this 4 error when complied -
-matt- - 06.06.2011
Код:
ERROR
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : warning 215: expression has no effect
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : error 001: expected token: ";", but found ")"
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : error 029: invalid expression, assumed zero
C:\Users\Family\Desktop\FastFive DriftCity 0.3c\gamemodes\fast4.pwn(1026) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
And the command where error is the red is line 1026
Код:
if(strcmp(cmdtext, "/home", true) == 0)
{
NormalTele(playerid, "Home", -468.3654,2208.0317,46.4776, 115.0000, -468.3654,2208.0317,46.4776, 115.0000, 0);
return 1;
}
Re: i get this 4 error when complied -
-matt- - 06.06.2011
Nobody know how to fix this ?
Re: i get this 4 error when complied -
Ash. - 06.06.2011
What is "NormalTele" ?
Re: i get this 4 error when complied -
-matt- - 06.06.2011
my friend made this tele for me and it works for him but it wont for me
Re: i get this 4 error when complied -
Wesley221 - 06.06.2011
Just use "SetPlayerPos(playerid, x, y, z);"
if you need the facing angle, "SetPlayerFacingAngle(playerid, angle);"