Vip Spawn Car will no delete!
#3

pawn Код:
YCMD:tank(playerid, params[], help)
{
    #pragma unused help
    if(P_Data[playerid][VIP] < 2) return SCM(playerid, COLOR_RED, "Musisz byc Silver VIP graczem aby uzywac tej komendy!");
    if(IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0x00FF00AA, "You're in a vehicle.");
    if(IsValidVehicle(myCar[playerid])) DestroyVehicle(myCar[playerid]);
    new Float:pX, Float:pY, Float:pZ, Float:pw;
    GetPlayerPos(playerid, pX, pY, pZ);
    GetPlayerFacingAngle(playerid, pw);
    myCar[playerid] = CreateVehicleEx(432, pX, pY, pZ, pw, 0, 0, 0);
    PutPlayerInVehicle(playerid, myCar[playerid], 0);
    GameTextForPlayer(playerid,"~w~Bullet", 3000, 1);
}
pawn Код:
//Just under #include <a_samp>
native IsValidVehicle(vehicleid);
Reply


Messages In This Thread
Vip Spawn Car will no delete! - by Inn350 - 19.02.2014, 19:33
Re: Vip Spawn Car will no delete! - by Golimad - 19.02.2014, 21:44
Re: Vip Spawn Car will no delete! - by Threshold - 19.02.2014, 21:55
Respuesta: Vip Spawn Car will no delete! - by CuervO - 20.02.2014, 00:52
Re: Vip Spawn Car will no delete! - by Inn350 - 20.02.2014, 01:27
Re: Vip Spawn Car will no delete! - by Threshold - 20.02.2014, 01:58
Re: Vip Spawn Car will no delete! - by Inn350 - 20.02.2014, 02:09
Re: Vip Spawn Car will no delete! - by Threshold - 20.02.2014, 03:15
Re: Vip Spawn Car will no delete! - by Inn350 - 20.02.2014, 15:01
Re: Vip Spawn Car will no delete! - by Threshold - 20.02.2014, 21:59

Forum Jump:


Users browsing this thread: 8 Guest(s)