16.08.2011, 18:45
Код:
C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(1547) : warning 202: number of arguments does not match definition C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2213) : error 002: only a single statement (or expression) can follow each "case" C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2213) : warning 215: expression has no effect C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2214) : warning 209: function "OnPlayerRequestClass" should return a value C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2215) : error 010: invalid function or declaration C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2220) : error 010: invalid function or declaration C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2502) : error 017: undefined symbol "ATEAM" C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2504) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2504) : error 017: undefined symbol "Cancel" C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2504) : warning 215: expression has no effect C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2504) : error 001: expected token: ";", but found ")" C:\Users\james\Documents\SFCRRPG\gamemodes\SFCRRPG.pwn(2504) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 8 Errors.
Код:
if(gTeam[playerid] == ATEAM && GetPlayerSkin(playerid) == 73) { ShowPlayerDialog(playerid,DIALOG_SKILLINFO,DIALOG_STYLE_MSGBOX,"{0000FF}ATEAM'S INFORMATION:","{FFFFFF}Commands: Type /commands for a list of ATEAM'S COMMANDS.\n{FFFFFF}Job: Your job is to run away from the National Guard/Army.\n{FFFFFF}Player Colours: For a list of what the player colors mean, type /pc.\n{FFFFFF}Don't forget to read the /rules of Zone's San Fierro C'N'R!","Ok,"Cancel"); GivePlayerWeapon(playerid,22,700); GivePlayerWeapon(playerid,31,700); GivePlayerWeapon(playerid,35,10); SetPlayerPos(playerid,-157.1407,1903.2020,18.6546); SetPlayerFacingAngle(playerid,275.1121; SetCameraBehindPlayer(playerid); HasATEAMRadio[playerid] =1; }
Код:
GameTextForPlayer(playerid, "~g~ATEAM", 3000,5); } { GameTextForPlayer(playerid, "~g~TAXI DRIVER", 3000, 5); } case 17,18,19,20,21,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,48,49,50,51,52,53,54,55,56,57,58,59,60: { GameTextForPlayer(playerid, "~w~CIVILIAN~n~~r~CHOOSE A JOB WHEN YOU SPAWN", 3000, 5); } } return 1; }
Код:
ATEAMZone = GangZoneCreate(164,157.1407,1903.2020,18.6546,275.1121);