27.07.2014, 10:49
i want to make a hot airballoon with command .. /go and /back command to move tht balloon but i was far away from it ..
i want to make tht balloon with "IsPlayerInRangeOfPoint"
here are the codes:
i want to make tht balloon with "IsPlayerInRangeOfPoint"
here are the codes:
Код:
#include <a_samp> new xyz; public OnGameModeInit() { xyz = CreateObject(19333, -959.48248, 3661.75122, 50.01505, 0.00000, 0.00000, -6.42000); } public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/go")) { MoveObject(xyz, -942.4452, 4525.3149, 40.0666, 5.0); return 1; } if(!strcmp(cmdtext, "/back")) { MoveObject(xyz, -959.48248, 3661.75122, 50.01505, 5.0); return 1; } return 0; }