Errors
#3

pawn Код:
CMD:eventomotos(playerid, params)
{

    new id, reason[128];
    if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid, COLOR_WHITE, "You need to be a admin to use that command!");
    if(Eventopolis[playerid] == 1) return SendClientMessage(playerid, -1, "No puedes abrir un nuevo evento! Primero termina con el evento de policias contra ladrones!");
    if(Eventojaula[playerid] == 1) return SendClientMessage(playerid, -1, "No puedes abrir un nuevo evento! Primero termina con el evento de la jaula!");
    if(Eventomotos[playerid] == 1) return SendClientMessage(playerid, -1, "Ya hay un evento de motos corriendo!");
    else if(sscanf(params, "us", id, reason))SendClientMessage(playerid, COLOR_WHITE, "Usage: /kick [id/name][reason]");
    {

        SetPlayerPos(playerid, -1803.5037,-587.1879,15.9822);
        SetPlayerVirtualWorld(playerid, 9);
        Eventomotos[playerid] = 1;
    }
    return 1;
}
Reply


Messages In This Thread
Errors - by Super_Panda - 03.10.2011, 00:31
Respuesta: Errors - by OPremium - 03.10.2011, 00:38
Re: Errors - by Super_Panda - 03.10.2011, 01:09
AW: Errors - by Drebin - 03.10.2011, 09:58

Forum Jump:


Users browsing this thread: 2 Guest(s)