So again problem which I cant think out. (y_classes, y_groups)!
#1

PHP код:
public OnPlayerSpawn(playerid)
{
   if(
g_pClassID[playerid] == || g_pClassID[playerid] == || g_pClassID[playerid] == || g_pClassID[playerid] == 3)
   {
        
Group_SetPlayer(gCripsplayeridtrue);
        
SetPlayerInterior(playerid3);
        
SetPlayerPos(playerid,2496.3914,-1709.5240,1014.7422);
    }
    else if(
g_pClassID[playerid] == 20 || g_pClassID[playerid] == 21 || g_pClassID[playerid] == 22 ||  g_pClassID[playerid] == 23)
    {
        
Group_SetPlayer(gIdlewoodplayeridtrue);
        
SetPlayerInterior(playerid5);
        
SetPlayerPos(playerid,319.8876,1124.1194,1084.3733);
    } 
So my first spawn piont is in CJ house the problem is... When I chose second group it spawns in same localation.. How it's possible to set to second spawn?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)