GetPlayerIp and set skin choose
#1

How i can make that a player from Croatia can use just skin id 0, 1, 2 or if he is from serbia just 3, 4, 5.



if(GetPlayerIp(playerid) == and the ip of someone who lives in Croatia)
public SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 0 || classid == 1 || classid == 2 )
{
gTeam[playerid] = TEAM_CRO;
}

else if GetPlayerIp(playerid) == and the ip of someone who lives in Serbia)
{
else if (classid == 3 || classid == 4 || classid == 5 )

{
gTeam[playerid] = TEAM_SERBIA;
}
return 1;

}
Reply


Messages In This Thread
GetPlayerIp and set skin choose - by Frankox - 13.07.2009, 14:42
Re: GetPlayerIp and set skin choose - by Weirdosport - 13.07.2009, 14:54
Re: GetPlayerIp and set skin choose - by abhinavdabral - 13.07.2009, 14:59
Re: GetPlayerIp and set skin choose - by Frankox - 13.07.2009, 15:36
Re: GetPlayerIp and set skin choose - by Correlli - 13.07.2009, 15:38
Re: GetPlayerIp and set skin choose - by Frankox - 13.07.2009, 15:45

Forum Jump:


Users browsing this thread: 1 Guest(s)