So Halli Hallo Leute.
Ich wollte neue Spawns beim GFR Script einfügen. Ich bekomme aber folgende Fehler:
C:\Users\Ramin\Desktop\Special Reallife\gamemodes\GFR.pwn(5578) : error 010: invalid function or declaration
C:\Users\Ramin\Desktop\Special Reallife\gamemodes\GFR.pwn(5587) : error 010: invalid function or declaration
C:\Users\Ramin\Desktop\Special Reallife\gamemodes\GFR.pwn(5596) : error 010: invalid function or declaration
Zeilen:
if(SpielerInfo[playerid][pSpawnChange] == 3)
{
SendClientMessage(playerid,COLOR_LIGHTRED,"Du spawnst in LS!");
SetPlayerPos(playerid, 1129.0942,-1489.3168,22.7690);
SetPlayerFacingAngle(playerid, 91);
SetCameraBehindPlayer(playerid);
}
if(SpielerInfo[playerid][pSpawnChange] == 4)
{
SendClientMessage(playerid,COLOR_LIGHTRED,"Du spawnst in SF!");
SetPlayerPos(playerid, -1969.1385,137.6803,27.6875);
SetPlayerFacingAngle(playerid, 91);
SetCameraBehindPlayer(playerid);
}
if(SpielerInfo[playerid][pSpawnChange] == 5)
{
SendClientMessage(playerid,COLOR_LIGHTRED,"Du spawnst in LV!");
SetPlayerPos(playerid, 1955.6182,1342.8590,15.3746);
SetPlayerFacingAngle(playerid, 91);
SetCameraBehindPlayer(playerid);
}
Die Zeilen sind die : if(SpielerInfo[playerid][pSpawnChange] == x)