Vehicle Problem.
#9

PHP код:
COMMAND:respawnallcars(playeridparams[])
{
    if(
P_DATA[playerid][alevel] < 4)return SendClientMessage(playerid,-1,"{FFFFFF}You must be{FF0000} Level 4{FFFFFF} to use this command."); 
    
SendClientMessageToAll(-1"{ff0000}(( WARNING: {FFFFFF}Unoccupied vehicles will be respawned in 20 seconds! {ff0000}))");
    
PlayerLoop(i)
    {
        
SetVehicleToRespawn(v); 
                new 
name[MAX_PLAYER_NAME],str[256]; 
     
GetPlayerName(playerid,name,sizeof(name)); 
     
format(str,sizeof(str),"{FFFF00}%s{FFFFFF} has respawned all vehicles!",name); 
     
SendClientMessageToAll(-1,str); 
    }
    return 
1;

try it
Reply


Messages In This Thread
Vehicle Problem. - by ChristolisTV - 31.07.2015, 18:29
Re: Vehicle Problem. - by ChristolisTV - 31.07.2015, 18:36
Re: Vehicle Problem. - by nezo2001 - 31.07.2015, 18:38
Re: Vehicle Problem. - by ChristolisTV - 31.07.2015, 18:49
Re: Vehicle Problem. - by nezo2001 - 31.07.2015, 19:10
Re: Vehicle Problem. - by ChristolisTV - 31.07.2015, 19:19
Re: Vehicle Problem. - by Variable™ - 31.07.2015, 19:26
Re: Vehicle Problem. - by nezo2001 - 31.07.2015, 20:01
Re: Vehicle Problem. - by TheLegend1 - 31.07.2015, 22:30

Forum Jump:


Users browsing this thread: 2 Guest(s)