Command /apark not work, Help Me
#7

Код:
if (strcmp("/apark", cmdtext, true, 10) == 0)
{
    GetPlayerName(playerid, sendername, 256);
    if (PlayerInfo[playerid][pAdmin] >= MASTER)
    {
        if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid, 0xFFFFFFFF, "You are not in a vehicle.");
        new vehicle = GetPlayerVehicleID(playerid);
        new Float:x, Float:y, Float:z, Float:c;
        GetVehiclePos(vehicle, Float:x, Float:y, Float:z);
        GetVehicleZAngle(vehicle, Float:c);
        CarInfo[vehicle][cLocationx] = x;
        CarInfo[vehicle][cLocationy] = y;
        CarInfo[vehicle][cLocationz] = z;
        CarInfo[vehicle][cAngle] = c;
        SaveCars();
    }
	return 1;
}
Reply


Messages In This Thread
Command /apark not work, Help Me - by tristtok - 23.09.2013, 00:38
Re: Command /apark not work, Help Me - by benjaminjones - 23.09.2013, 01:12
Re: Command /apark not work, Help Me - by tristtok - 23.09.2013, 01:20
Re: Command /apark not work, Help Me - by benjaminjones - 23.09.2013, 01:27
Re: Command /apark not work, Help Me - by tristtok - 23.09.2013, 01:31
Re: Command /apark not work, Help Me - by Dubya - 23.09.2013, 01:42
Re: Command /apark not work, Help Me - by Brandon_More - 23.09.2013, 01:46

Forum Jump:


Users browsing this thread: 1 Guest(s)