Hi,
sobald ein Spieler sich registriert oder eingeloggt hat, wird der Public OnPlayerRequestClass aufgerufen (in meinem Script natürlich^^).
Doch leider kann man dann keine Klasse auswählen o.o
Hier der public:
public OnPlayerRequestClass(playerid, classid)
{
if(!ingame[playerid])
{
//TogglePlayerSpectating(playerid,true);
SetPlayerVirtualWorld(playerid,playerid);
SetPlayerPos(playerid, -1501.3486, 1196.7833, 7.2551);
SetPlayerCameraPos(playerid, -1495.1930, 1196.9891, 8.5551);
SetPlayerCameraLookAt(playerid, -1501.3486, 1196.7833, 7.2551);
}
return 1;
}
Warum geht es nicht?
PS: Klassen sind auch definiert:
AddPlayerClass(1, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(8, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(3, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(19, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(46, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(285, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(192, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(299, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(135, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(284, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
AddPlayerClass(88, -1501.3486, 1196.7833, 7.2551, 269.4146, 0, 0, 0, 0, 0, 0);
lg
Deagle