15.10.2012, 23:53
PHP код:
// Declarando variбvel global
new myPickup;
// OnGameModeInit
myPickup = CreatePickup(1247, 1, -2030.9016, -115.2854, 1035.1719);
// OnPlayerKeyStateChange
if(newkeys == 16) {
if(IsPlayerInRangeOfPoint(playerid, 2.0, -2030.9016, -115.2854, 1035.1719)) {
OnPlayerCommandText(playerid, "/pagarmulta");
}
}