if(dialogid == 1000)
{
if(response)
{
if(listitem == 0)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije Vodu!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 1)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije LaVitu!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 2)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije CocaColu!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_SPRUNK);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 3)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije Lav Pivo!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 4)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije Jelen Pivo!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 5)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije Vinjak!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
SetPlayerHealth(playerid, health + 50.0);
}
if(listitem == 6)
{
SendClientMessage(playerid, 0x33AA33AA, "%s pije Pelinkovac!");
GivePlayerMoney(playerid,-15);
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DRINK_BEER);
SetPlayerHealth(playerid, health + 50.0);
}
}
return 1;
}
I pojave mi se ovi errori...A nmg tacno da se setim sta to znaci -.-'
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13443) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13445) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13447) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13456) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13465) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13474) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13483) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13492) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13501) : error 010: invalid function or declaration
C:\Documents and Settings\Administrator\Desktop\SmartEx RolePlay 0.3b\gamemodes\pfrp.pwn(13510) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.Moze Pomoc?
Molim bespotrebne i nevezane komentare da ne pisete!
