public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("testing atm!"); AddPlayerClass(82, -2026.7515,156.7179,29.0391,269.0951); AddPlayerClass(83, -2026.7515,156.7179,29.0391,269.0951); AddPlayerClass(84, -2026.7515,156.7179,29.0391,269.0951); return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, -2026.7515,156.7179,29.0391,269.0951); SetPlayerCameraPos(playerid, -2021.2136,156.7149,28.6917,88.1551); SetPlayerCameraLookAt(playerid, -2026.7515,156.7179,29.0391,269.0951); AddPlayerClass(82, -2026.7515,156.7179,29.0391,269.0951); AddPlayerClass(83, -2026.7515,156.7179,29.0391,269.0951); AddPlayerClass(84, -2026.7515,156.7179,29.0391,269.0951); return 1; }
public OnGameModeInit()
{
// Don't use these lines if it's a filterscript
SetGameModeText("testing atm!");
return 1;
}
public OnGameModeExit()
{
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, -2026.7515,156.7179,29.0391,269.0951);
SetPlayerCameraPos(playerid, -2021.2136,156.7149,28.6917,88.1551);
SetPlayerCameraLookAt(playerid, -2026.7515,156.7179,29.0391,269.0951);
AddPlayerClass(82, -2026.7515,156.7179,29.0391,269.0951);
AddPlayerClass(83, -2026.7515,156.7179,29.0391,269.0951);
AddPlayerClass(84, -2026.7515,156.7179,29.0391,269.0951);
return 1;
}
Originally Posted by Karlip
Wtf garsino.
You put the classes under OnPlayerRequestClass, while they should be on OnGameModeInit. They're only supposed to be under OnGameModeInit. |