16.04.2010, 14:09
do i set someone's team using Gteam??
|
Originally Posted by laser50
can i also make them that team in a command?
|
if (strcmp("/equip", cmdtext, true, 10) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 20.0, 255.3812,77.2109,1003.6406))
{
if(gTeam[playerid] == TEAM_COP)
{
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_LIST, "Armoury", "Choose a package:/nOfficer Package/nSWAT Package/nUndercover Package/nRiot Package/nInvestigation Package", "Select", "Cancel");
}
}
}
return 1;

|
Originally Posted by laser50
my command isent working at all...
Код:
if (strcmp("/equip", cmdtext, true, 10) == 0)
|
if (strcmp("/equip", cmdtext, true) == 0)
|
Originally Posted by Adil_Rahoo
Quote:
pawn Код:
|