18.09.2013, 08:36
pawn Код:
CMD:skydive(playerid, params[]);
{ //line 117
SetPlayerPos(playerid, 1763.6770,-1385.8885,20005.7148);
SendClientMessage(playerid, COLOR_YELLOW, "[TELEPORT] {FFFFFF}- You've been teleported to skydive map . Enjoy your flight.");
SendClientMessage(playerid, COLOR_RED, "[ERROR, error, ErRoR...] {FFFFFF}- We {FF0000}failed{FFFFFF} to give you a parachute, pray to recive one shortly!");
return 1; //line 121
}
Error lines:
pawn Код:
C:\Users\Arty\Desktop\test.pwn(117) : error 055: start of function body without function header
C:\Users\Arty\Desktop\test.pwn(121) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Your code showed the same, but line this:
pawn Код:
C:\Users\Arty\Desktop\test.pwn(117) : error 055: start of function body without function header
C:\Users\Arty\Desktop\test.pwn(122) : error 010: invalid function or declaration
C:\Users\Arty\Desktop\test.pwn(128) : warning 202: number of arguments does not match definition // "GivePlayerWeapon" ??
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.