hallo ich habe ein problemundzwar folgendes:
C:\Programme\Rockstar Games\Grand Theft Auto San Andreas\gamemodes\stunt.pwn(19549) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
1 Error.
hier ist das was ich eingefügt habe:
public SomeTimer()
{
new keys, updown, leftright;
new currentveh;
new Float:vehx, Float:vehy, Float:vehz;
currentveh = GetPlayerVehicleID(playerid);
GetVehiclePos(currentveh, vehx, vehy, vehz);
for(new playerid = 0; playerid < MAX_PLAYERS; playerid++)
{
if(IsPlayerConnected(playerid))
{
GetPlayerKeys(playerid, keys, updown, leftright);
if(updown == KEY_SUBMISSION)
{
SetVehiclePos(currentveh, vehx, vehy, vehz+5);
}
}
}
}
warum kennt er playerid nicht ???