[HELP] ??
#1

i want to make a saving line to .ini like Car = and when player buys car, "Car" will be set to 1 (Car = 1), and when he loses it Car will be set to 0 (Car = 0)

i want to make lock command, :

if(pStats[playerid][pCar] == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "You don't have your own car.");
}
else
{
if( VehicleLocked[carid] == 0 )
{
SendClientMessage(playerid, COLOR_WHITE, "You locked your car");
VehicleLocked[carid] = 1;
}
else
{
if( VehicleLocked[carid] == 1 )
SendClientMessage(playerid, COLOR_WHITE, "You unlocked your car");
VehicleLocked[carid] = 0;
}

but how i can get the users car ID ? ... like for each player.

Reply


Messages In This Thread
[HELP] ?? - by addinol - 01.03.2010, 19:44
Re: [HELP] ?? - by CuervO - 01.03.2010, 20:06
Re: [HELP] ?? - by aircombat - 01.03.2010, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)