06.11.2018, 20:47
HI!
Tag missmatch on the lines:
Full code:
Tag missmatch on the lines:
Code:
LastBack[0] = Px; LastBack[1] = Py; LastBack[2] = Pz;
Code:
COMMAND:backup(playerid, params[]) { if(!isLEO(playerid)) { Server(playerid, "Nu faci parte din politie."); return 1; } new msg[248], Float:Px, Float:Py, Float:Pz; if(inTied(playerid)) { Server(playerid, "Nu poti folosi aceasta comanda pentru ca esti legat."); return 1; } foreach(new i : Player) { if(isLEO(i)) { GetPlayerPos(playerid, Px, Py, Pz); LastBackup = playerid; LastBack[0] = Px; LastBack[1] = Py; LastBack[2] = Pz; format(msg, 248, "Politistul %s are nevoie de ajutor! Catre toate unitatile,pentru a raspune,foloseste /respond!", GetName(playerid)); SendClientMessage(i, COLOR_PURPLE, msg); } } return 1; }