SA-MP Forums Archive
Vehicle[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)
+--- Thread: Vehicle[HELP] (/showthread.php?tid=598435)



Vehicle[HELP] - AlbaniaMafiaRP - 12.01.2016

hello i have one vehicle system @my script but i want to do it like ITALY MAFIA ROLEPLAY!

For example : /car spawn

Quote:

new wstring[ 1524 ];
for(new i = 1; i < sizeof(Vehicles); i++)
{
if(!strcmp(Vehicles[i][carowner], PlayerName(playerid), false))
{
format(iStr, sizeof(iStr), "{bebaba}(ID %d)\t {51983e}%s\n", i, GetVehicleName(i));
strcat(wstring,iStr);

Quote:

For example if player click in dialog vehicle will spawn if player click when vehicle is spawned ,vehicle will despawn!