Hallo leute,
Ich bekomme immer diesen error beim Compilen von meinem Selfmade Script
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
Error Zeilen:
forward BombExplosion();
public BombExplosion()
{
SetPlayerCameraPos(playerid, -1545.6415,1216.2197,25.7344);
SetPlayerCameraLookAt(playerid,-1645.2216,1208.7622,21.1563);
Es liegt an "(playerid,- mit (i,- "kommen die gleichen errors Komischerweise geht es oben bei mir perfekt:
public OnGameModeInit()
{
DisableInteriorEnterExits();
ShowNameTags(1);
ShowPlayerMarkers(1);
UsePlayerPedAnims();
Bomb = CreatePickup(1654,1,-1657.5339,1207.4243,7.2500);
AddPlayerClass(122,-1481.1322,715.8389,6.9922,54.1528,0,0,0,0,0,0); //attacker spawn
AddPlayerClass(121,-1481.1322,715.8389,6.9922,54.1528,0,0,0,0,0,0); //attacker spawn2
AddPlayerClass(123,-1481.1322,715.8389,6.9922,54.1528,0,0,0,0,0,0); //attacker spawn3
AddPlayerClass(275,-1705.5024,1220.9933,30.0781,209.1785,0,0,0,0,0,0); //defender spawn
AddPlayerClass(276,-1705.5024,1220.9933,30.0781,209.1785,0,0,0,0,0,0); //defender spawn2
AddPlayerClass(274,-1705.5024,1220.9933,30.0781,209.1785,0,0,0,0,0,0); //defender spawn3
AddStaticVehicle(460,-1476.9803,688.0269,1.5727,359.2651,57,34); // Wasser Flugzeug
AddStaticVehicle(487,-1495.1628,677.8284,7.3609,91.0681,86,86); // Heli
AddStaticVehicle(487,-1495.4332,692.2798,7.3985,91.0680,86,86); // Heli
AddStaticVehicle(400,-1488.4031,744.7037,7.2725,267.9910,113,1); // Land stalker
AddStaticVehicle(400,-1488.7516,734.7685,7.2725,267.9910,113,1); // Land stalker
return 1;
}
Hoffe mir kann einer helfen