getting errors fix it please!
#1

Hello Here Im Rayansh i have script i m getting this errors ?
Код:
C:\Documents and Settings\DOn\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(19) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pawn(19) : warning 215: expression has no effect
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(19) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(19) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(19) : fatal error 107: too many error messages on one line
4 Errors.
This is code anyone help me fast please
Код:
if new online, string[128], file[32];
Reply
#2

im not sure why did you put if in variable? or thats an explanation...

pawn Код:
new online, string[128], file[32]; //remove if
because i can't find any errors on that.
Reply
#3

Delete that "if".
Reply
#4

Getting this again?
Код:
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(19) : error 001: expected token: "-identifier-", but found ","
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(20) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(20) : warning 215: expression has no effect
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(20) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(20) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Don\Desktop\'\Samp Server 0.3x\filterscripts\Admin system.pwn(20) : fatal error 107: too many error messages on one line
5 Errors.
Reply
#5

Plsh Help Me!!!
Reply
#6

Post lines 18, 19 and 20.

Also, don't bump your threads.
Reply
#7

Код:
{
    new online, string(128), file(32);
   	if(!IsPlayerLoggedIn(playerid)) return SendClientMessage(playerid, COLOR_GREY, "You need to login first before using any command.");
Here You
Reply
#8

You don't use parenthesis to specify a length, you need to use square brackets.

pawn Код:
new online, string[128], file[32];
Reply
#9

How to use this can you tell me..
Reply
#10

You obviously need to read some guides and possibly change your signature from "Experienced Scripter". Lol.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)