Pawn Errors Help Needed!
#1

Hi, I need some help with these errors! I am pasting the code below, from line 82 - 97.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/hyd", cmdtext, true, 10) == 0)
    {
        if(gVIP[playerid] == 1)
  if(IsPlayerInAnyVehicle(playerid))
        SendClientMessage(playerid, COLOR_GREEN, "Hydraulics added to your vehicle!");
        AddVehicleComponent(vehicleid, 1087);
        else
        SendClientMessage(playerid, COLOR_RED, "You're not in a car!");
        else
        SendClientMessage(playerid, COLOR_RED, "You're not a VIP!");
        return 1;
    }
    return 0;
}
And here are the errors!

Код:
C:\Users\Jack\Desktop\samp\filterscripts\adminscript.pwn(89) : error 017: undefined symbol "vehicleid"
C:\Users\Jack\Desktop\samp\filterscripts\adminscript.pwn(90) : error 029: invalid expression, assumed zero
C:\Users\Jack\Desktop\samp\filterscripts\adminscript.pwn(92) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Thanks for helping!
Reply


Messages In This Thread
Pawn Errors Help Needed! - by Jack_Rocker - 07.01.2011, 17:30
Re: Pawn Errors Help Needed! - by *IsBack - 07.01.2011, 17:32
Re: Pawn Errors Help Needed! - by Jack_Rocker - 07.01.2011, 17:34
Re: Pawn Errors Help Needed! - by *IsBack - 07.01.2011, 17:37
Re: Pawn Errors Help Needed! - by HyperZ - 07.01.2011, 17:41

Forum Jump:


Users browsing this thread: 1 Guest(s)