17.05.2014, 07:42
Example:
ZCMD:
cmd_command, change u name.
pawn Код:
if (PRESSED(KEY_CROUCH))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 754.16119, -40.84430, 999.99481))
{
OnPlayerCommandText(playerid, "/command");
}
}
pawn Код:
if (PRESSED(KEY_CROUCH))
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 754.16119, -40.84430, 999.99481))
{
cmd_command(playerid);
}
}