CreateNitroPickup
#6

Quote:
Originally Posted by Youice
Посмотреть сообщение
hopeless you didn't change any thing in the code , it's just like you changed the code appearance nothing else and actually and I don't want to decreed, but it's kinda function(stocks are different kind of functions that not in need"forwards" and in the same time it can't be called in some re-calls like "Timers")

Try this:

pawn Код:
stock CreateNitro(Float:x,Float:y,Float:z,VirtualWorld)
{
    Create3DTextLabel("[Nitro]",0xAA3333AA,x,y,z,20,VirtualWorld);
    for(new i = 0; i < MAX_PLAYERS; i++) //set a for-loop and loop through all the admins
    {
        if(PInfo[i][pAdmin] >= 1 &&IsPlayerInRangeOfPoint(i,5,x,y,z)) // edit this line to your basics
        {
            if(IsPlayerInAnyVehicle(i))
            {
                SendClientMessage(i,0xAA3333AA,"Youa are in");
                AddVehicleComponent(GetPlayerVehicleID(i),1010);
            }
        }
    }
    return 1;
}
You did just the same thing ,put on the different cloth
and stock will not be executed if they are not called ,so it matters
Reply


Messages In This Thread
CreateNitroPickup - by [D]ry[D]esert - 28.08.2012, 00:20
Re: CreateNitroPickup - by [D]ry[D]esert - 28.08.2012, 02:01
Re: CreateNitroPickup - by Lukks90 - 28.08.2012, 09:48
Re: CreateNitroPickup - by detter - 28.08.2012, 09:54
Re: CreateNitroPickup - by Youice - 28.08.2012, 10:25
Re: CreateNitroPickup - by detter - 28.08.2012, 10:51
Re: CreateNitroPickup - by Youice - 28.08.2012, 11:02

Forum Jump:


Users browsing this thread: 1 Guest(s)