SA-MP Forums Archive
one car for one player - 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: one car for one player (/showthread.php?tid=130950)



one car for one player - 02manchestera - 28.02.2010

i was wondering how i can make one spawned car for one player so the over one will go and so i dont get some nub spawn load of cars.

Код:
if(!strcmp(cmdtext, "/Sultan", true))
{
  new Float:X, Float:Y, Float:Z;
  GetPlayerPos(playerid, X,Y,Z);
  CreateVehicle(560, X,Y,Z,0.0,1,1,respawntime(60000));
  SendClientMessage(playerid,0xFF44CF," Your new Sultan has been delivered, Sir." );
  return 1;
  }
  if(!strcmp(cmdtext, "/nrg", true))
{
  new Float:X, Float:Y, Float:Z;
  GetPlayerPos(playerid, X,Y,Z);
  CreateVehicle(522, X,Y,Z,0.0,1,1,respawntime(60000));
  SendClientMessage(playerid,0xFF44CF," Your new NRG-500 has been delivered, Sir." );
  return 1;



Re: one car for one player - Fedee! - 28.02.2010

Check my sig


Re: one car for one player - 02manchestera - 28.02.2010

Your fs f's up my over commands any ideas why it works fine but ruin my own stuff