Convert strcmd to zcmd
#1

Please convert me this cmds strcmp to zcmd .

Код:
if(strcmp(cmdtext,"/fixall",true)==0)
{
 if(PlayerInfo[playerid][Level] >= 10){
  for(new i = 0; i < MAX_PLAYERS; i++){
   SetVehicleHealth(GetPlayerVehicleID(i),1250.0);
   RepairVehicle(GetPlayerVehicleID(i));
   }
   SendClientMessage(playerid,red,"Vehiculos del server reparados");
    new jugador[256];
    GetPlayerName(playerid,jugador,sizeof(jugador));
    new enviador[256];
    CMDMessageToAdmins(playerid,"FIXALL");
    SoundForAll(1057);
    format(enviador,256,"{FFFF00}El Administrador {FFFFFF}%s {FFFF00}Ha Reparado Todos Los Autos Del Server",jugador);
     return SendClientMessageToAll(red,enviador);
    } else return SendClientMessage(playerid,red,"{FFFFFF}ERROR: {29FF0D}Necesitas ser {FFFFFF}Administrador nivel 9 {29FF0D}para usar este comando");
}
Reply


Messages In This Thread
Convert strcmd to zcmd - by timsosa09 - 26.08.2017, 21:38
Re: Convert strcmd to zcmd - by Kane - 26.08.2017, 21:43
Re: Convert strcmd to zcmd - by timsosa09 - 26.08.2017, 21:57

Forum Jump:


Users browsing this thread: 1 Guest(s)