General Discussion > Support

Compiler Error

(1/1)

RookieCookie:
I just started scripting, so far, here are the errors on my script :


--- Quote ---C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : error 001: expected token: ",", but found "."
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\user\My Documents\Stuff\doavc.pwn(27) : fatal error 107: too many error messages on one line
--- End quote ---

T800:
Please show us line 27 of your script.

RookieCookie:
Fixed it,and the rest of the script,but there are still a few warnings I don't know how to fix :


--- Quote ---C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(50) : warning 202: number of arguments does not match definition
C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(62) : warning 202: number of arguments does not match definition
C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(63) : warning 202: number of arguments does not match definition
C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(63) : warning 202: number of arguments does not match definition
C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(64) : warning 202: number of arguments does not match definition
C:\DOCUME~1\user\MYDOCU~1\STUFF~1\doavc.pwn(64) : warning 202: number of arguments does not match definition
--- End quote ---


--- Quote ---AddStaticPickup(13, 343, -1245,5171,87.8365,11.8800);
SetPlayerStartPos(playerid,-349.1618,-1639.4268,11.6376);
SetCameraPos(playerid,-348.6426,-1636.7668,16.9553,358.1666);
SetCameraLookAt(playerid,-348.6426,-1636.7668,16.9553,358.1666);
--- End quote ---

Navigation

[0] Message Index

Go to full version