31.03.2012, 22:20
Код:
new Logs;
Код:
public OnGameModeInit()
{
new Logs = Create_Item("Logs");
}
(851) : error 017: undefined symbol "Logs"
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if (GetPlayerWeapon(playerid) == 9)
{
new rand = random(2);
{
switch(rand)
{
case 0: Add_Item(playerid, Logs);
case 1: Add_Item(playerid, Logs);
}
}
}
return 0;
}

