[Duda] Como hago este comando?
#2

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp(cmdtext, "/vid ", true) == 0)
    {
        if!(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, -1, "no estas en un vehiculo.");
        new 
                data[100];
        format(data,sizeof(data),"estas en el vehiculo id:: %d",GetPlayerVehicleID(playerid));
        SendClientMessage(playerid,-1,data);
        return true;
    }
    return false;
}
Reply


Messages In This Thread
[Duda] Como hago este comando? - by asfawfas - 27.02.2015, 15:24
Respuesta: [Duda] Como hago este comando? - by OTACON - 27.02.2015, 17:27
Respuesta: [Duda] Como hago este comando? - by jotajeda - 27.02.2015, 18:21
Respuesta: [Duda] Como hago este comando? - by OTACON - 27.02.2015, 18:33
Respuesta: [Duda] Como hago este comando? - by asfawfas - 27.02.2015, 23:13
Respuesta: [Duda] Como hago este comando? - by JuanStone - 27.02.2015, 23:15
Respuesta: [Duda] Como hago este comando? - by asfawfas - 27.02.2015, 23:17
Respuesta: [Duda] Como hago este comando? - by jotajeda - 27.02.2015, 23:23

Forum Jump:


Users browsing this thread: 1 Guest(s)