Hey,
ich dachte es funktioniert so, aber leider passiert bei der Skin Auswahl nichts <_<
public OnPlayerRequestClass(playerid, classid)
{
SpawnPlayer(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
switch(pInfo[playerid][pFraktion])
{
case 0:
{
SetPlayerColor(playerid, COLOR_GREY);
SetPlayerPos(playerid, 1567.8707,-1896.0806,13.5604);
}
case 1:
{
SetPlayerColor(playerid, COLOR_BLAU);
SetPlayerPos(playerid, 254.3388,78.9916,1003.6406);
}
case 2:
{
SetPlayerColor(playerid, COLOR_BLAU);
}
case 3:
{
SetPlayerColor(playerid, COLOR_GRÜN);
}
case 4:
{
SetPlayerPos(playerid, 733.0378,-1358.5448,23.5792);
SetPlayerColor(playerid, COLOR_GREY);
}
case 5:
{
SetPlayerColor(playerid, COLOR_GREY);
SetPlayerPos(playerid, 1495.1166,-1280.6687,14.5811);
}
}
LoadAccount(playerid);
return 1;
}