Problem - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem (
/showthread.php?tid=219965)
Problem -
dillo1000 - 02.02.2011
Код:
C:\Documents and Settings\Mikeeey\Desktop\GTA SA TEST\gamemodes\bare.pwn(11) : error 001: expected token: ";", but found "}"
C:\Documents and Settings\Mikeeey\Desktop\GTA SA TEST\gamemodes\bare.pwn(109) : warning 219: local variable "string" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
pawn Код:
new string[72];
new pname
}
main()
{
print("\n----------------------------------");
print(" Michael's TDM\n");
print("----------------------------------\n");
}
Re: Problem -
ExeC - 02.02.2011
First, you already have "
new string[72];" somewhere in your script.
Second, add: "
new pname[MAX_PLAYER_NAME];", instead of "
new pname".
Re: Problem -
dillo1000 - 02.02.2011
Thanks