20.08.2012, 05:32
The OnPlayerPickUpPickup doesn't get called even if i walk on the pickup?
Код:
DealershipPickups[0] = CreateDynamicPickup(1239, 1, 2131.7966,-1149.4606,24.2644); DealershipPickups[1] = CreateDynamicPickup(1239, 1, 542.2528,-1291.5217,17.2422); DealershipPickups[2] = CreateDynamicPickup(1239, 1, 1663.7601,-1862.7172,13.5274); public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == DealershipPickups[0] || pickupid == DealershipPickups[1] || pickupid == DealershipPickups[2]) { SendClientMessage(playerid, COLOR_GREEN, "INFO: You can access the dealership by typing '/dealership'."); } return 1; }