Aliona Fratescu Posted January 11, 2016 Share Posted January 11, 2016 Salut am un gamemode bugged si am o problema la cmd:gmx D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 037: invalid string (possibly non-terminated string) D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 029: invalid expression, assumed zero D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 029: invalid expression, assumed zero D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : fatal error 107: too many error messages on one line Script-ul e asta. ma poate ajuta cnv ? CMD:gmx(playerid, params[]) { if(playerVariables[playerid"[pmakeadmin] >= 5) <-----------------------------------------[ Asta e linia 38355] SendClientMessageToAll(COLOR_YELLOW, "---- SERVER RESTART ----"); SendClientMessageToAll(COLOR_TEAL, "Serverul este restartat pentru rezolvarea unor buguri sau adaugarea unot chestii noi."); SendClientMessageToAll(COLOR_TEAL, "Nu e nevoie sa dati Quit ( /q ), serverul revine in 10 secunde."); GameModeExit(); } else return SendClientMessage(playerid, COLOR_YELLOW, "Nu ai levelul necesar pentru a da restart."); return 1; } Va rog ajutati-ma Dau si tw daca e nev Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 Inlocuieste cu: if(playerVariables[playerid][pAdminLevel] >= 5) Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38361) : error 010: invalid function or declaration D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38362) : error 010: invalid function or declaration else return SendClientMessage(playerid, COLOR_YELLOW, "Nu ai levelul necesar pentru a da restart."); return 1; problemele daca vrei iti dau in sms tw de la mn Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 (edited) De ce mai folosesti else return, incearca simplu 'else' Sau mai simplu: iCMD:gmx(playerid, params[]) { if(playerVariables[playerid][pAdminLevel] < 4) return SendClientMessage(playerid, culoarea, "mesaj"); SendClientMessageToAll(COLOR_YELLOW, "---- SERVER RESTART ----"); SendClientMessageToAll(COLOR_TEAL, "Serverul este restartat pentru rezolvarea unor buguri sau adaugarea unot chestii noi."); SendClientMessageToAll(COLOR_TEAL, "Nu e nevoie sa dati Quit ( /q ), serverul revine in 10 secunde."); GameModeExit(); return 1; } Edited January 11, 2016 by L0K3D. Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 tot nu merge :) ai tw ? Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 tot nu merge :) ai tw ? Am dat edit. Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 testez acum D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38353) : warning 203: symbol is never used: "gmx" Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 vezi ca am pus 'iCMD' din greseala, pune 'CMD'. Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 001: expected token: ")", but found "-identifier-" D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : warning 215: expression has no effect D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 001: expected token: ";", but found "]" D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : error 029: invalid expression, assumed zero D:\games install\Bugged RPG (Version 3.3.0)\gamemodes\Buttion.pwn(38355) : fatal error 107: too many error messages on one line am corectat CMD Problema if(playerVariables[playerid]pAdminLevel] < 4) return SendClientMessage(playerid, culoarea, "mesaj"); mai bine hai cu TW sa ma testezi. Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 Comanda e ok. Cum nu iti merge? Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 vrei tw meu sa vezi ? Link to comment Share on other sites More sharing options...
L0K3D. Posted January 11, 2016 Share Posted January 11, 2016 vrei tw meu sa vezi ? if(playerVariables[playerid][pAdminLevel] < 4) Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 mersi a mers ! Link to comment Share on other sites More sharing options...
Aliona Fratescu Posted January 11, 2016 Author Share Posted January 11, 2016 Mai am un bug daca am job Arms Dealer si fac in acel moment drumul si dau find pe HQ Los Vagos imi da bani aiurea asta cum repar ? Link to comment Share on other sites More sharing options...
Recommended Posts