29.12.2009, 18:35
Код:
#include <a_samp> new mypickup; new mypickup1; public OnGameModeInit() { mypickup = CreatePickup(362, 2, 115.2829, 377.8892, 3.4451, 0); mypickup1 = CreatePickup(363, 2, -2473.0024, 1548.1436, 33.2273, 0); return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == mypickup) { GivePlayerWeapon(playerid, 38, 2000); } if (pickupid == mypickup1) { GivePlayerWeapon(playerid, 39, 25); } }