help me
#1

how to know the car virtual world ?

AddStaticVehicleEx(411,-4365.93212891,839.28680420,986.18029785,0.00000000 ,-1,-1,180); //Infernus

this car VW is ?
Reply
#2

pawn Код:
GetVehicleVirtualWorld(vehicleid);
Reply
#3

give me one cmd
Reply
#4

pawn Код:
if(strcmp(string, "/mycarvw", true) == 0)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
         GetVehicleVirtualWorld(GetPlayerVehicleID(playerid));
    }
    return 1;
}
Reply
#5

30 minutes for that ? im already make it

pawn Код:
CMD:vehvw(playerid, params[])
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        new string[156];
        new world;
        world = GetVehicleVirtualWorld(GetPlayerVehicleID(playerid));
        SetPlayerVirtualWorld(playerid, world);
        format(string, sizeof(string), "This Vehicle VW is %d", world);
        SendClientMessageEx(playerid, COLOR_YELLOW, string);
    }
    return 1;
}
Reply
#6

He's helping to more than one people so have some respect, he eventually gave you a cmd so just say thank you and that's it.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)