Moin,
ich habe folgendes Problem. Sobald ich auf meinen Server connecte, wählt man ja den Skin aus, es klappt auch alles soweit (werden alle angezeigt) aber sobald ich dann auf "spawnen" drücke, passiert garnichts. Ein Freund meinte ich müsse in den Request eine Abfrage reinmachen, aber wie zum Teufel mach ich das?
Hier der Pawn-Quelltext:
public OnGameModeInit()
{
AddPlayerClass(286,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // FBI
AddPlayerClass(285,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // SWAT
AddPlayerClass(270,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Grove
AddPlayerClass(104,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Ballas
AddPlayerClass(110,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Vagos
AddPlayerClass(120,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Triaden
AddPlayerClass(174,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Rifas
AddPlayerClass(113,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // LCN
AddPlayerClass(100,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Biker
AddPlayerClass(115,1994.0085,1180.9779,22.5186,180.6079,24,99999,31,99999,29,99999); // Aztecas
SetGameModeText("KSG:DM v1.0 BETA");
UsePlayerPedAnims();
}
...
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerInterior(playerid,2);
SetPlayerPos(playerid,1523.8240,-43.7732,1002.1310);
SetPlayerFacingAngle(playerid, 180.0);
SetPlayerCameraPos(playerid,1523.8240,-47.0732,1003.5310);
SetPlayerCameraLookAt(playerid,1523.8240,-43.7732,1002.2310);
return 1;
}