[Ajuda] ID Inexistente
#2

Tenta ae, tб funcional.
Testei agora...
pawn Код:
CMD:v(playerid, params[])
{
    if(!IsPlayerAdmin(playerid) && PlayerDados[playerid][pAdmin] < 1000) return SendClientMessage(playerid,-1,"Vocк nгo pode usar esse comando.");
    new carid,cor1,cor2,Float:x, Float:y, Float:z;
    if(sscanf(params,"ddd", carid,cor1,cor2)) return SendClientMessage(playerid, -1, "|INFO|Use /v [id] [cor1] [cor2]");
    GetPlayerPos(playerid,x,y,z);
    if(carid < 400 || carid > 611) return SendClientMessage(playerid,-1,"ID Nгo inexistente.");
    CreateVehicle(carid, x, y+1, z, 0, cor1, cor2, false); SendClientMessage(playerid, -1, "Veiculo criado com Sucesso!");
    return 1;
}
Reply


Messages In This Thread
ID Inexistente - by Biieell - 11.05.2013, 14:53
Re: ID Inexistente - by ProKillerpa - 11.05.2013, 15:05
Re: ID Inexistente - by Biieell - 11.05.2013, 15:09
Re: ID Inexistente - by Supera - 11.05.2013, 15:10
Re: ID Inexistente - by Cidiei - 11.05.2013, 15:11
Re: ID Inexistente - by Biieell - 11.05.2013, 17:12
Re: ID Inexistente - by Cidiei - 11.05.2013, 17:15
Re: ID Inexistente - by mau.tito - 11.05.2013, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)