What this array is meant for??
#1

Like i -
pawn Код:
new LastUpdate[10] = "30-6-11";
I get this error-
pawn Код:
E:\vyom\My Pen Drive\GTA San Andreas\my new stunt server(upgraded)\gamemodes\freeroam.pwn(408) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
Can anyone tell me what is [10] here ..and also help to fix this error....
Reply
#2

Uhm, it's your script, so you should know. :') The 10 determines how much characters (letters, if you wish) the array can hold.
However the warning doesn't seem to have anything to do with that particular line.
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Uhm, it's your script, so you should know. :') The 10 determines how much characters (letters, if you wish) the array can hold.
However the warning doesn't seem to have anything to do with that particular line.
well i didn't understood..... how can i fix the warning?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)