CreateNitroPickup
#1

Hello everyone i wanted to make my own nitro pickup and it work without errors.
but when i enter the pickup nothing happen, i don't get nitro.
Here is the code :
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(IsPlayerInRangeOfPoint(i,5,x,y,z))
    {
    if(IsPlayerInAnyVehicle(i))
    {
    SendClientMessage(i,0xAA3333AA,"Youa are in");
    AddVehicleComponent(GetPlayerVehicleID(i),1010);
    }
    }
    }
    }
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)