[HELP] Admin Cars
#1

hey having a few issues around admincars this is what i have admin:

pawn Код:
public OnGameModeInit()
{
           new adminbike;
    // Don't use these lines if it's a filterscript
    SetGameModeText("Gangwar TDM!");
    //admin vehicles
    adminbike = AddStaticVehicleEx(522,2434.1450,-1675.1233,13.4768,181.4236,1,0,10000); // admin_nrg1
    return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(vehicleid == adminbike && !IsPlayerAdmin(playerid))
    {
        ClearAnimations(playerid);
        SendClientMessage(playerid, 0xAA3333AA, "This vehicle is for admins only!");
    }
    return 1;
}
but i get these errors for some reason:

Код:
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\GWTDM.pwn(61) : warning 204: symbol is assigned a value that is never used: "adminbike"
C:\Users\Unlimited DMers\Desktop\Fas FreeRoam\gamemodes\GWTDM.pwn(131) : error 017: undefined symbol "adminbike"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply


Messages In This Thread
[HELP] Admin Cars - by DaRkAnGeL[NBK] - 08.10.2011, 18:06
Re: [HELP] Admin Cars - by Zonoya - 08.10.2011, 18:08
Re: [HELP] Admin Cars - by DaRkAnGeL[NBK] - 08.10.2011, 18:11
Re: [HELP] Admin Cars - by DaRkAnGeL[NBK] - 08.10.2011, 18:13
Re: [HELP] Admin Cars - by Zonoya - 08.10.2011, 18:16
Re: [HELP] Admin Cars - by Wesley221 - 08.10.2011, 18:21
Re: [HELP] Admin Cars - by Zonoya - 08.10.2011, 18:23
Re: [HELP] Admin Cars - by DaRkAnGeL[NBK] - 08.10.2011, 18:26
Re: [HELP] Admin Cars - by Wesley221 - 09.10.2011, 09:30
Re: [HELP] Admin Cars - by DaRkAnGeL[NBK] - 09.10.2011, 19:33

Forum Jump:


Users browsing this thread: 1 Guest(s)