07.07.2013, 23:19
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);
}
}
}