16.06.2015, 19:51
Код:
CMD:disland(playerid, params[]) { if(dm[playerid]==1) { return SendClientMessage(playerid,red, "[ ERROR: You are in deathmatch, type /Leavedm to use this command. ]"); } if(IsPlayerVIPLevel(playerid,2)) { SetPlayerInterior(playerid,0); SetPlayerPos(playerid,3398.230224,2339.5776362.531250,262.003540); SendClientMessage(playerid, -1,"{FF00FB}Welcome to your island, Donor! Have Fun!"); SendClientMessage(playerid, -1,"{00FF00}[INFO] {C9C9C9}If you want to leave the island, get on the water and type /dboat."); GameTextForPlayer(playerid, "~r~Welcome to the DONOR island",5000,3); }else SendClientMessge(playerid,red,"ERROR: You must be a Donator of Level 2 to use this command."); return 1; }
Код:
C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : error 001: expected token: ",", but found "." C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : error 029: invalid expression, assumed zero C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : warning 215: expression has no effect C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : warning 215: expression has no effect C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : error 001: expected token: ";", but found ")" C:\Users\Admin\Desktop\COD7ver3.0\gamemodes\COD7ver3.0.pwn(8666) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.