Quote:
Originally Posted by Hwang
Example:
pawn Код:
if (PRESSED(KEY_CROUCH)) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 754.16119, -40.84430, 999.99481)) { OnPlayerCommandText(playerid, "/command"); } }
ZCMD:
pawn Код:
if (PRESSED(KEY_CROUCH)) { if(IsPlayerInRangeOfPoint(playerid, 7.0, 754.16119, -40.84430, 999.99481)) { cmd_command(playerid); } }
cmd_command, change u name.
|
And for Dcmd ? I have to change cmd_robstore to dcmd_robstore ?