Hey,
ich arbeite gerade an meinem Script. Nun hänge ich an einem einzigen Error fest:
H:\Script\aio.pwn(380) : error 017: undefined symbol "SetPlayerClass"
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerClass(playerid, classid); //380
gPlayerClass[playerid] = classid;
switch (classid) {
case 0:
{
GameTextForPlayer(playerid, "Zivilist", 500, 3);
SetPlayerPos(playerid,-2690.67,2048.35,56.73);
SetPlayerFacingAngle(playerid, 0.0);
SetPlayerCameraPos(playerid,-2693.00,2052.62,55.73);
SetPlayerCameraLookAt(playerid,-2690.67,2048.35,56.73);
SetPlayerColor(playerid,COLOR_WHITE);
}
}
return 1;
}
Ich versteh nicht was da falsch ist. Hab mir das ganze mal in einem anderen Script angeschaut. Das geht ohne Probleme.