20.06.2013, 17:07
here's my code(not mine Actually Copied from the Eclipse by ZERO)
Errors:
pawn Код:
CMD:teles(playerid, params[] )
{
new Str1[ ] = " - "CLB"The Eclipse {FFFFFF}[Dont Care] "CLB" teleports.\n\n\
"CLB"Stuntparks{FFFFFF}\n\
/sfair /lvair /lsair /chilliad /disney /aa\n\n\
"CLB"Races{FFFFFF}\n\
/kabul /gp /fr /cr\n\n\
"COL_YELLOW"Parkours{FFFFFF}\n\
/mirrorpk /bmx /bmx2 /bmx3 /mpk /nrgmpk /changer /changer2 /opk /wtfpk\n\
/pk1 /pk2 /pk3 /pk4 /pk5 /pk6 /pk7 /pkpa /pkh\n\n",
new Str2[ ] = ""CLB"Drifts{FFFFFF}\n\
/rundrift /driftparking /driftship /driftcircle /driftbox /zdrift\n\
/drift1 /drift2 /drift3 /drift4 /drift5 /drfiti\n\n\
"CLB"Drags{FFFFFF}\n\
/drag1 /drag2 /drag3\n\n\
"COL_GREEN"Deathmatches{FFFFFF}\n\
/idm /wtfdm /ddz /ddz2 /m4dm /mdm /ddm /ssdz /sdm /exit\n\n\
"COL_BLUE"Cities{FFFFFF}\n\
/city1 /city2 /city3 /city4 /bdesert\n\n",
new Str3[ ] = ""CLB"Rollercoasters{FFFFFF}\n\
/rc1 /rc2 /rc3 /rc4 /rc5 /rc6 /rc7\n\n\
"COL_RED"Fun{FFFFFF}\n\
/rjp /wtg /wtg2 /mhp /dfun /mfun /bloodyb\n\n\
"CLB"Bigjumps{FFFFFF}\n\
/sfj /jj /gj /pj /lsaj /lvaj /bij /bij2 /wj /pc /glj /scale /vbj /mjump\n\
/bj1 /bj2 /bj3 /bj4 /bj5 /bj6 /bj7 /bj8 /bj9 /bj10\n\n\
"CLB"Basejumps{FFFFFF}\n\
/base /omg /bsj1 /bsj2 /bsj3 /bsj4 /bsj5 /bsj6 /bsj7 /bsj8 /bsj9 /bsj10\n\n",
new Str4[ ] = ""CLB"Others{FFFFFF}\n\
/restaurant /city4 /goingdown /funbowl /trans /arch /loco /fo\n\
/lsammu /sfammu /lvammu /ls /sf /lv /dbs /bb /et /kstad /surfing\n\n\
"COL_RED"Dialog-based teleports{FFFFFF}\n",
new Str5[ ] = "/t /sps /race /dms /cities /tbs /stunts /ammu /rcs /drifts\n\
/drags /fun /pks /bjs /bsjs /jumps /others /asa /asa2",
new StrF[ 1600 ];
new StrF[ ];
format( StrF, sizeof StrF, "%s%s%s%s%s", Str1, Str2, Str3, Str4, Str5 );
ShowDialog( playerid, Teles, BOX, "Teleports", StrF, "Ok", "" );
return 1;
}
pawn Код:
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(435) : error 001: expected token: "-identifier-", but found "new"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(452) : error 001: expected token: "-identifier-", but found "new"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(455) : error 001: expected token: "-identifier-", but found "new"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(456) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(456) : error 036: empty statement
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(457) : error 017: undefined symbol "StrF"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(457) : error 017: undefined symbol "StrF"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(458) : error 017: undefined symbol "StrF"
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(876) : warning 202: number of arguments does not match definition
C:\Users\Tayyab\Desktop\New folder (2)\gamemodes\GM.pwn(887) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.