4 Errors in 1 Line. - 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: 4 Errors in 1 Line. (
/showthread.php?tid=491550)
4 Errors in 1 Line. -
kubeba59 - 31.01.2014
Can you guys help me solve this errors ?
pawn Код:
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : warning 213: tag mismatch
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : error 001: expected token: ")", but found "["
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : error 029: invalid expression, assumed zero
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : warning 215: expression has no effect
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : error 001: expected token: ";", but found "]"
C:\Program Files\GTA San Andreass\Server\gamemodes\base.pwn(8758) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Line:
pawn Код:
if(PlayerInfo[playerid][x][pmodelid] != 0) SetPlayerAttachedObject(playerid, x, PlayerInfo[playerid][x][pmodelid], PlayerInfo[playerid][x][pboneid], PlayerInfo[playerid][x][pfOffsetX], PlayerInfo[playerid][x][pfOffsetY], PlayerInfo[playerid][x][pfOffsetZ], PlayerInfo[playerid][x][pfRotX], PlayerInfo[playerid][x][pfRotY], PlayerInfo[playerid][x][pfRotZ], 1, 1, 1);
Thanks guys
Re: 4 Errors in 1 Line. -
Smileys - 31.01.2014
you're missing 2 parameters in your SetPlayerAttachedObject.
https://sampwiki.blast.hk/wiki/SetPlayerAttachedObject
Re: 4 Errors in 1 Line. -
kubeba59 - 31.01.2014
No matter what I do I am getting those errors from other lines too....