09.11.2009, 13:23
pawn Код:
if (strcmp("/udeme", cmdtext, true, 10) == 0)
{
if(gTeam[playerid] == TEAM_EME)
{
if(PlayerToPoint(4.0, playerid, 315.9652,-1138.9167,81.5934))
{
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 34, 250);
SetPlayerSkin(playerid, 236);
SendClientMessage(playerid, COLOR_BROWN, "You are now a Undercover Kid");
}
else
{
SendClientMessage(playerid, COLOR_GREY, "You are not at eMe Deposit or you are not a eMe Member");
}
}
}