Good Car Mode
#1

hi i am tryign to put in a Good Car mode in FS i have this Code
pawn Код:
if(strcmp(cmdtext, "/godcar", true) == 0)
    {
      new godct;
      if(ingodcar[playerid] == 0) {
          ingodcar[playerid] = 1;
          SendClientMessage(playerid, COLOR_YELLOW, "God car activated");
          godv = GetPlayerVehicleID(playerid);
          godct = SetTimer("GodCarMode",500,1);
        } else {
          ingodcar[playerid] = 0;
          SendClientMessage(playerid, COLOR_YELLOW, "God car de-activated");
          KillTimer(godct);
        }
        return 1;
    }
}
But i get this Error
pawn Код:
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(98) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(108) : error 017: undefined symbol "ingodcar"
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(108) : warning 215: expression has no effect
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(108) : error 001: expected token: ";", but found "]"
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(108) : error 029: invalid expression, assumed zero
L:\XtremePlanet\XtremePlanet\filterscripts\gc.pwn(108) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Can somone help me?
Reply


Messages In This Thread
Good Car Mode - by djdanni - 20.04.2011, 15:09
Re: Good Car Mode - by xir - 20.04.2011, 16:43
Re: Good Car Mode - by CrazyBlob - 20.04.2011, 17:41
Re: Good Car Mode - by djdanni - 26.04.2011, 12:34

Forum Jump:


Users browsing this thread: 1 Guest(s)