So habe grad versucht, eine 2. Funktion aus nem FS zu laden.
CallRemoteFunction("OnPlayerSpawn2", "f"); //Habe ich im Gamemode bei OnPlayerSpawn aufgerufen..
forward OnPlayerSpawn2(playerid);
public OnPlayerSpawn2(playerid)
{
if(xX{playerid} == 1)
{
SetPlayerPos(playerid,-376.8379,-4230.9829,17.6320);
GivePlayerWeapon(playerid, 24, 9999);
GivePlayerWeapon(playerid, 30, 9999);
}
if(xX{playerid} == 2)
{
SetPlayerPos(playerid,-365.5645,-4036.0833,18.9681);
GivePlayerWeapon(playerid, 24, 9999);
GivePlayerWeapon(playerid, 30, 9999);
}
return 1;
}
Naja, habs auch schon normal versucht ohne die CRF, werde trotzdem noch in LS respawnt.