[HELP]OnPlayerSpawn
#2

If theres a problem with not reading the other Functions as you can see:


pawn Код:
public OnPlayerSpawn(playerid)
{
    if(TEAM_COP[playerid] == 1)
    {
        SetPlayerColor(playerid, COLOR_BLUE);
        SetPlayerPos(playerid, 3410.4294,-1786.3250,491.7417);
        FreezePlayer(playerid, 2500);
        SendClientMessage(playerid, COLOR_YELLOW, " You have spawned as a Cop! (/Objective)");
        SetPlayerInterior(playerid, 1);
    CopKeys(playerid);
      TEAM_COPKeys[playerid] = 1;
    AccountInfo[playerid][pMember] = 1;
        TextDrawShowForPlayer(playerid, Text:Textdraw0);
        TextDrawShowForPlayer(playerid, Text:Textdraw1);
        TextDrawShowForPlayer(playerid, Text:Textdraw4);
        return 1;
    }
I beleive it has a return 1; Which basicly will not call anything else and just call that function, So if you want the other functions called too, You should remove Return 1;
Reply


Messages In This Thread
[HELP]OnPlayerSpawn - by [NYRP]Mike. - 10.10.2009, 22:35
Re: [HELP]OnPlayerSpawn - by FreshKilla - 10.10.2009, 22:47

Forum Jump:


Users browsing this thread: 1 Guest(s)