SA-MP Forums Archive
[HELP] ?? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] ?? (/showthread.php?tid=131131)



[HELP] ?? - addinol - 01.03.2010

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.




Re: [HELP] ?? - CuervO - 01.03.2010

Request your script at the Script Request Thread #4.






Re: [HELP] ?? - aircombat - 01.03.2010

Quote:
Originally Posted by Cue?vo
Request your script at the Script Request Thread #4.



he doesnt request he ask helps on how to do it stop posting the link in all topics

2.
u should use Dini to save the cars , no other way
________
HOT BOX VAPE