13.11.2012, 21:40
When im using this Script i get 26 Errors! and none of them are linked to these lines?!
Код:
if(strcmp(cmdtext, "/BreakVault", true) == 0) { if(IsPlayerInRangeOfPoint(playerid,9,1453.69995117,-986.90002441,14.89999962)) { //Bank Vault if(!(PlayerInfo[playerid][pMember] == 0)) return SendClientMessage(playerid,COLOR_GREY," You are not a BankRobber or Bank Director"); { if(BankVault==0) { BankVault = 1; MoveObject(BankVaultDoor, 1453.69995117,-985.00000000,14.89999962, 0.5); } else if(BankVault==1) { BankVault = 0; // 0 = stдngd dцrr! 0an ska дven vara "InRangeOfPoint" MoveObject(BankVaultDoor, 1453.69995117,-986.90002441,14.89999962, 0.5); return 1; } return 1; }