11.12.2010, 09:52
I want to make briefcases in my server but i have 1 error
its from mta coordonates
and i have 1 error at ( briefcase = CreatePickup(1210,1,2866.1818847656, -2125.1086425781, 5.743230342865,-1); )
Код:
CreateObject(1210, 2866.1818847656, -2125.1086425781, 5.743230342865, 0, 0, 268);
Код:
new briefcase; public OnGameModeInit() { briefcase = CreatePickup(1210,1,2866.1818847656, -2125.1086425781, 5.743230342865,-1); public OnPlayerPickUpPickup(playerid, pickupid) { if(pickupid == briefcase) GivePlayerWeapon(playerid,32,2000); GivePlayerMoney(playerid,200000); SetPlayerArmour(playerid,1000); GivePlayerWeapon(playerid,26,2000); return 1; }
Код:
briefcase.pwn(40) : warning 202: number of arguments does not match definition 1 Warning.