Remove all unused vehicles.
#8

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
YOU are an absolute fucking moron. Why don't you take your attitude and shove it right up your ass?

y_iterate is FOREACH, but it's the newest version. I use y_iterate because regular for loops are INEFFICIENT AS HELL. If he's a new scripter, he should be learning the NEW stuff, not the inefficient bullshit you and everyone else in this topic posted. Go get a little experience under your belt before you go off on me and make a complete fool out of yourself you moron.

EDIT: Whoever the hell -repped me with the reason "that's not even correct" you need to go learn a bit.
Quote:

Remove all unused... 23/05/2013 12:42 AM no u.

It's not inefficient bullshit, but only a scripter would know that. Not gonna argue anymore, reported your post.

Quote:
Originally Posted by NicholasA
Код:
CMD:respawnunused(playerid, params[])
{
    if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, -1, "You need to be RCON admin to use this command! ");
    else
    {
        new bool:vad[MAX_VEHICLES] = false;
        for(new x=0; x < MAX_VEHICLES; x++)
        {
            for(new p = 0; p < MAX_PLAYERS; p++)
            {
                if(GetPlayerVehicleID(p) == x) vad[x] = true;
                if(vad[x] == false) SetVehicleToRespawn(x);
            }
        }
    }
    return 1;
}
Thanks! The other dude was putting in stuff i didnt understand
=)
...
Reply


Messages In This Thread
Remove all unused vehicles. - by NicholasA - 22.05.2013, 16:09
Re: Remove all unused vehicles. - by Scenario - 22.05.2013, 16:14
Re: Remove all unused vehicles. - by whando - 22.05.2013, 18:02
Re: Remove all unused vehicles. - by CreativityLacker - 22.05.2013, 18:21
Re: Remove all unused vehicles. - by Scenario - 22.05.2013, 18:22
Re: Remove all unused vehicles. - by CreativityLacker - 22.05.2013, 18:26
Re: Remove all unused vehicles. - by Scenario - 22.05.2013, 20:35
Re: Remove all unused vehicles. - by CreativityLacker - 23.05.2013, 16:17
Re: Remove all unused vehicles. - by Scenario - 23.05.2013, 16:29

Forum Jump:


Users browsing this thread: 3 Guest(s)