OnPlayerRequestSpawn help
#8

PHP код:
#include <EasyNames>
public OnPlayerRequestSpawn(playerid)
{
    switch (
gTeam[playerid]) {
        case 
TEAM_CIA : if( (PlayerNameContains(playerid"[CIA]") == 0) return SendClientMessage(playerid,0xFF8000C8,"You are not a member of the Central Intelligence Agency! Choose another class."),ForceClassSelection(playerid);
        case 
TEAM_ED : if( (PlayerNameContains(playerid"[ED]") == 0) return SendClientMessage(playerid,0xFF8000C8,"You are not a member of the Electric Drifters! Choose another class."),ForceClassSelection(playerid);
    }
    return 
1;
  } 
https://sampforum.blast.hk/showthread.php?tid=51289
Reply


Messages In This Thread
OnPlayerRequestSpawn help - by nicholasramdhan - 14.04.2015, 22:13
Re: OnPlayerRequestSpawn help - by fuckingcruse - 15.04.2015, 07:50
Re: OnPlayerRequestSpawn help - by nicholasramdhan - 15.04.2015, 21:14
Re: OnPlayerRequestSpawn help - by Crayder - 15.04.2015, 21:18
Re: OnPlayerRequestSpawn help - by nicholasramdhan - 16.04.2015, 01:19
Re: OnPlayerRequestSpawn help - by Crayder - 16.04.2015, 02:37
Re: OnPlayerRequestSpawn help - by nicholasramdhan - 18.04.2015, 16:31
Re: OnPlayerRequestSpawn help - by Azula - 18.04.2015, 17:27
Re: OnPlayerRequestSpawn help - by Crayder - 18.04.2015, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)