Call Car Script
#1

Trying to make a /rcar (Reserved Car) command where when you type the command, your reserved car comes to you. Having no luck, someone want to give me something to start off of?
Reply
#2

Код:
if(strcmp(cmdtext,"/rcar",true) == 0)
{
   new name[MAX_PLAYER_NAME],string[32];
   GetPlayerName(playerid,name,sizeof(name));
   format(string,sizeof(string),"The player \"%s\" has set the vehicles to respawn.",name);
   SendClientMessageToAll(COLOR,string);
   for(new i = 0; i < MAX_VEHICLES; i++)
   {
       if(IsPlayerInVehicle(i,i))
       {
           RemovePlayerFromVehicle(i);
       }
       SetVehicleToRespawn(i);
  }
  return 1;
}
Reply
#3

Not really what I was looking for, but thanks!
Reply
#4

How would I go at making that into the script I was talking about?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)