06.02.2010, 10:11
CAn somebody please say what's wron with this code?
http://pastebin.com/d58f8bfdd
http://pastebin.com/d58f8bfdd
Originally Posted by buljons
public OnGameModeInit()
It gives me these errors: C:\Users\BuLjonS\Desktop\samp03asvr_R4_win32\gamem odes\grandlarc.pwn(354) : error 017: undefined symbol "playerid" C:\Users\BuLjonS\Desktop\samp03asvr_R4_win32\gamem odes\grandlarc.pwn(355) : error 017: undefined symbol "playerid" |
public OnGameModeInit()
{
pickup = CreatePickup(1318, 23, 2025.1743,1532.4404,10.8203, -1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == pickup)
{
GivePlayerWeapon(playerid,46, 1); // They picked up your pickup, now they can have the weapon!
}
return 1;
}