13.09.2010, 22:53
pawn Код:
if (strcmp(cmdtext, "/pegarbeb", true, 10) == 0)
{
if(Team[playerid] == sobrevivente)
{
if(IsPlayerInRangeOfPoint(playerid, 1.0, 500.65, -15.50, 1000.67))
{
PlayerInfo[playerid][pBebidas] = 1;
SendClientMessage(playerid, COR_AMARELO, "Voce pegou algumas garrafas e colocou na mochila!");
}
else
{
SendClientMessage(playerid, COR_AMARELO, "Vocк nгo estб perto das garrafas");
}
}
else
{
SendClientMessage(playerid, COR_AMARELO, "Voce nгo й um sobrevivente!");
}
return 1;
}