22.12.2014, 17:05
Here is the code:
NOTE : This is only test !!
And defines
And there is an error what is the problem ??
Please Help !!
Thank You.
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
if( GetPlayerSkin (playerid) == 44)
{
SendClientMessage(playerid, 0x00FF00FF, "Done !");
gTeam[playerid] = TEAM_ARAB;
else
{
SendClientMessage(playerid, 0x00FF00FF "What !!");
}
return 1;
}
And defines
PHP код:
/////////Teams////////
new gTeam[MAX_PLAYERS];
#define TEAM_ARAB 1;
#define TEAM_USA 2;
#define TEAM_CHINA 3;
#define TEAM_INDIA 4;
#define TEAM_RUSSIA 5;
#define TEAM_FRANCE 6;
#define TEAM_BRAZIL 7;
//////////////////////
Please Help !!
Thank You.