Mda nu ma descurc la dialoguiri:(( Am incercat sa fak un dialog cu help
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(215) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(221) : error 002: only a single statement (or expression) can follow each "case"
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(221 -- 222) : error 028: invalid subscript (not an array or too many subscripts): "listitem"
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(227) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(233) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(240) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(244) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(252) : warning 211: possibly unintended assignment
C:\Documents and Settings\Owner\Desktop\Servers of Samp\Server 6.0\gamemodes\SC.pwn(262) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
Da Eror 2 erors ) Am mai rezolvat o eroare.. erau 8 ..Dar Am resuti dar numi dau seama ce trb fakut la astea doua...
Linile dar mai bine dau dialogu ..
Din cate vad am erori la OnDialogResponse :cry:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid=DIALOG)
{
if(response)
{
switch(listitem)
{
if(listitem=0)
{
SetPlayerHealth(playerid,100);
SendClientMessage(playerid,COLOR_RED,"Ai Luat Viata Full!");
GivePlayerMoney(playerid,-2500);
}
if(listitem=1)
{
SetPlayerArmour(playerid,100);
GivePlayerMoney(playerid,-5000);
SendClientMessage(playerid,COLOR_RED,"Ai Luat Armura full!");
}
if(listitem=3)
{
SendClientMessage(playerid,COLOR_RED,"GameMode:[RSD]TheBoss,sk8");
SendClientMessage(playerid,COLOR_GREEN,"FilterScript:[RSD]TheBoss");
SendClientMessage(playerid,COLOR_RED,"Maps:sk8");
SendClientMessage(playerid,COLOR_GREEN,"Multumim Ca Ati Citit Creditele!");
}
if(listitem=4)
{
SendClientMessage(playerid,COLOR_GOLD,"Forum:...");
}
if(listitem=5)
{
SendClientMessage(playerid,COLOR_RED,"~~~~~~~~~~Reguli~~~~~~~~~");
SendClientMessage(playerid,COLOR_BLUE,"Nu se Permite Nici un fel de hacks!");
SendClientMessage(playerid,COLOR_RED,"Nu Injura veti primi kick/warn!");
SendClientMessage(playerid,COLOR_BLUE,"Spam =Kick - Reclama Ban Permanent!");
SendClientMessage(playerid,COLOR_PINK,"Multumim Ca Ati Citit Regulile!");
}
if(listitem=6)
{
SendClientMessage(playerid,COLOR_BLUE,"Comenzile Sunt:/Kill,/healme,/armourme,/ls,/sf,/lv,/sfps,/lvps,/lsps,/lspd,/sfpd,/lvpd");
}
else
{
SendClientMessage(playerid,COLOR_RED,"Deci Nu vrei Nimik?..Ok..");
}
}
}
return 1;
}
Orice Fak Eror..Mai am 3 Eror pls ajutor:(
New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...
Question
[RSD]TheBoss
Mda nu ma descurc la dialoguiri:(( Am incercat sa fak un dialog cu help
Da Eror 2 erors ) Am mai rezolvat o eroare.. erau 8 ..Dar Am resuti dar numi dau seama ce trb fakut la astea doua... Linile dar mai bine dau dialogu .. Din cate vad am erori la OnDialogResponse :cry:Orice Fak Eror..Mai am 3 Eror pls ajutor:(
New GameMode In Development!-Romania Team Gang War-100%!...Datimi doua Motive afrimative de ce sa-l postez si-l postez...
Link to comment
Share on other sites
2 answers to this question
Recommended Posts