[Duda] їQuй hay mal aquн?
#7

pawn Код:
CMD:veh(playerid, params[]) {
    new Float:PosVeh[4], vehicleid;
    if(sscanf(params, "d", params[0])) return SendClientMessage(playerid, -1, "{32CD32}Uso:{FFFFFF} /veh (ID).");
    GetPlayerPos(playerid, PosVeh[0], PosVeh[1], PosVeh[2]);
    GetPlayerFacingAngle(playerid, PosVeh[3]);
    DestroyVehicle(vehicleid);
    vehicleid = CreateVehicle(params[0], PosVeh[0], PosVeh[1], PosVeh[2], PosVeh[3], random(126), random(126), -1);
    PutPlayerInVehicle(playerid, vehicleid, 0);
    SendClientMessage(playerid, -1, "Acabas de spawnear un vehнculo (ID: {ADFF2F}%d{FFFFFF} / Nombre:{ADFF2F}%s{FFFFFF}).", params[0], NombreCoches[GetVehicleModel(vehicleid)-400]);
    return 1;
}}
Reply


Messages In This Thread
[Duda] їQuй hay mal aquн? - by Loox - 28.03.2013, 23:25
Respuesta: [Duda] їQuй hay mal aquн? - by EduGTA - 28.03.2013, 23:30
Respuesta: [Duda] їQuй hay mal aquн? - by Loox - 28.03.2013, 23:39
Respuesta: [Duda] їQuй hay mal aquн? - by Matthias134 - 28.03.2013, 23:44
Respuesta: [Duda] їQuй hay mal aquн? - by Loox - 29.03.2013, 00:06
Respuesta: [Duda] їQuй hay mal aquн? - by Loox - 29.03.2013, 18:47
Respuesta: [Duda] їQuй hay mal aquн? - by OTACON - 29.03.2013, 19:05
Respuesta: [Duda] їQuй hay mal aquн? - by Porta0123 - 29.03.2013, 19:05
Respuesta: [Duda] їQuй hay mal aquн? - by Loox - 29.03.2013, 19:08
Respuesta: [Duda] їQuй hay mal aquн? - by Porta0123 - 29.03.2013, 21:35

Forum Jump:


Users browsing this thread: 2 Guest(s)