08.11.2009, 13:32
public OnGameModeInit()
{
new pickup;
pickup = CreatePickup(359,2,19955.5645,-1615.6426,33.4479,-1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(359 == (pickup)) GivePlayerWeapon(35,10);
}
and then it goes
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(383) : warning 204: symbol is assigned a value that is never used: "pickup"
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(521) : error 017: undefined symbol "pickup"
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(521) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
{
new pickup;
pickup = CreatePickup(359,2,19955.5645,-1615.6426,33.4479,-1);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(359 == (pickup)) GivePlayerWeapon(35,10);
}
and then it goes
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(383) : warning 204: symbol is assigned a value that is never used: "pickup"
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(521) : error 017: undefined symbol "pickup"
C:\Users\Angelo\Desktop\Grand Theft Auto -San Andreas\gamemodes\CountryStuff.pwn(521) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.