Author Topic: Compiler Error  (Read 4820 times)

0 Members and 1 Guest are viewing this topic.

Offline RookieCookie

  • Street Thug
  • *
  • Posts: 24
    • View Profile
Compiler Error
« on: August 14, 2014, 04:27:22 pm »
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

Offline T800

  • Street Thug
  • *
  • Posts: 15
    • View Profile
Re: Compiler Error
« Reply #1 on: August 14, 2014, 07:53:47 pm »
Please show us line 27 of your script.

Offline RookieCookie

  • Street Thug
  • *
  • Posts: 24
    • View Profile
Re: Compiler Error
« Reply #2 on: August 15, 2014, 05:25:07 am »
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

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