Need a little help about parkcar code.
#4

Quote:
Originally Posted by gurmani11
Посмотреть сообщение
PHP код:
     GetPlayerVehicleMods(playerid); 
show this function
PHP код:
public GetPlayerVehicleMods(playerid)
{
//  Vehicle 1
    
PlayerInfo[playerid][PlayerVehicle1ModSlot0] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 0);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot1] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 1);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot2] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 2);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot3] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 3);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot4] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 4);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot5] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 5);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot6] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 6);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot7] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 7);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot8] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 8);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot9] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 9);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot10] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 10);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot11] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 11);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot12] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 12);
    
PlayerInfo[playerid][PlayerVehicle1ModSlot13] = GetVehicleComponentInSlot(PlayerVehicleID1[playerid], 13);
//  Vehicle 2
    
PlayerInfo[playerid][PlayerVehicle2ModSlot0] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 0);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot1] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 1);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot2] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 2);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot3] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 3);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot4] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 4);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot5] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 5);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot6] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 6);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot7] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 7);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot8] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 8);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot9] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 9);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot10] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 10);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot11] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 11);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot12] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 12);
    
PlayerInfo[playerid][PlayerVehicle2ModSlot13] = GetVehicleComponentInSlot(PlayerVehicleID2[playerid], 13);
//  Vehicle 3
    
PlayerInfo[playerid][PlayerVehicle3ModSlot0] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 0);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot1] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 1);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot2] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 2);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot3] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 3);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot4] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 4);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot5] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 5);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot6] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 6);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot7] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 7);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot8] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 8);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot9] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 9);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot10] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 10);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot11] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 11);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot12] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 12);
    
PlayerInfo[playerid][PlayerVehicle3ModSlot13] = GetVehicleComponentInSlot(PlayerVehicleID3[playerid], 13);
//  Vehicle 4
    
PlayerInfo[playerid][PlayerVehicle4ModSlot0] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 0);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot1] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 1);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot2] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 2);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot3] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 3);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot4] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 4);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot5] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 5);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot6] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 6);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot7] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 7);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot8] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 8);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot9] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 9);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot10] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 10);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot11] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 11);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot12] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 12);
    
PlayerInfo[playerid][PlayerVehicle4ModSlot13] = GetVehicleComponentInSlot(PlayerVehicleID4[playerid], 13);
//  Vehicle 5
    
PlayerInfo[playerid][PlayerVehicle5ModSlot0] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 0);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot1] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 1);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot2] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 2);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot3] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 3);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot4] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 4);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot5] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 5);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot6] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 6);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot7] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 7);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot8] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 8);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot9] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 9);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot10] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 10);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot11] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 11);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot12] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 12);
    
PlayerInfo[playerid][PlayerVehicle5ModSlot13] = GetVehicleComponentInSlot(PlayerVehicleID5[playerid], 13);
    return 
1;

Here you go sir ..
Reply


Messages In This Thread
Need a little help about parkcar code. - by EkaFist - 29.10.2015, 08:49
Re: Need a little help about parkcar code. - by EkaFist - 29.10.2015, 17:08
Re: Need a little help about parkcar code. - by gurmani11 - 29.10.2015, 17:13
Re: Need a little help about parkcar code. - by EkaFist - 02.11.2015, 01:44
Re: Need a little help about parkcar code. - by EkaFist - 02.11.2015, 11:48
Re: Need a little help about parkcar code. - by EkaFist - 02.11.2015, 17:58
Re: Need a little help about parkcar code. - by PrO.GameR - 02.11.2015, 18:40

Forum Jump:


Users browsing this thread: 3 Guest(s)