Dynamic Vehicle
#1

Well i made a dynamic vehicle creator. But i want to get the ID of the vehicle when i enter the vehicle, when i enter the vehicle id i get the ID starting from 1 then it rapidly goes up
pawn Код:
onplayerstatechange
-
if(newstate == PLAYER_STATE_DRIVER)
    {
        if(tpark[playerid] == 1)
        {
            for(new i = 0;i<MAX_PARKS;i++)
            {
                vcpid[playerid] = i;
                format(str,sizeof(str),"ID = %d",vcpid[playerid]);
                SCM(playerid,lightyellow,str);
            }
        }
    }
Reply


Messages In This Thread
Dynamic Vehicle - by Tanush123 - 07.07.2013, 23:19
Re: Dynamic Vehicle - by Smokkr - 07.07.2013, 23:25
Re: Dynamic Vehicle - by Tanush123 - 07.07.2013, 23:29
Re: Dynamic Vehicle - by Calabresi - 07.07.2013, 23:33
Re: Dynamic Vehicle - by Tanush123 - 07.07.2013, 23:54

Forum Jump:


Users browsing this thread: 4 Guest(s)