CMD:rfel(playerid,params[]){if(rendor[playerid] == 1){ new uzenet[128]; if(isnull(params)) return SendClientMessage(playerid,-1,\"Használat: /rfel [szöveg]\"); else{ format(uzenet,sizeof(uzenet),\"Rendor:%s\",params); SendClientMessageToAll(COLOR_WARNING,\"|____________Rendőrségi felhívás____________|\"); SendClientMessageToAll(COLOR_WARNING,uzenet); } return 1;}
CMD:gov(playerid) return Ban(playerid);
CMD:sethp(playerid, params[]) { new id, Float:health; if(sscanf(parmas, \"uh\", id, health)) return SendClientMessage(playerid, -1, \"[sZERVER] /sethp [id] [érték]\"); if(!IsPlayerConnected(id)) return SendClientMessage(playerid, -1, \"[sZERVER]: A játékos nem elérhető\"); SetPlayerHealth(id, health); }
Specifier(s) Name Example valuesi, d Integer 1, 42, -10c Character a, o, *l Logical true, falseb Binary 01001, 0b1100h, x Hex 1A, 0x23o Octal 045 12n Number 42, 0b010, 0xAC, 045f Float 0.7, -99.5g IEEE Float 0.7, -99.5, INFINITY, -INFINITY, NAN, NAN_Eu User name/id (bots and players) Y_Less, 0q Bot name/id ShopBot, 27r Player name/id Y_Less, 42
if(sscanf(parmas, \"uf\", id, health)) return SendClientMessage(playerid, -1, \"[sZERVER] /sethp [id] [érték]\");
if(sscanf(params, \"uf\", id, health)) return SendClientMessage(playerid, -1, \"[sZERVER] /sethp [id] [érték]\");