02.08.2013, 12:01
pawn Код:
////////SPY Disguise Dialog SPYKIT
{
if(dialogid == SPYKIT)
{
if(respose)//enter or pressing Disguise
{
if(listitem == 0)
{
SentClientMessage(playerid, COLOR_GREY, "[SERVER] {FFFFFF} Successfully Disguised as Team USA");
SetPlayerSkin(playerid, 287);
SetPlayerColor(playerid, COLOR_LIGHTBLUE)
}
return 1;
}
}
return true;
}
K so i made a cmd which would show dialog that if you are a spy then u can disguise as other teams and i listed those teams.
Till this i had no errors.
When i wanted to make listitem 0 ONplayerdialog reponse i got errors idk
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(484) : error 055: start of function body without function header
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(485) : error 010: invalid function or declaration
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(487) : error 010: invalid function or declaration
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(489) : error 010: invalid function or declaration
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(492) : error 021: symbol already defined: "SetPlayerSkin"
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(495) : error 010: invalid function or declaration
D:\SAMP STUFF\SAMP HOST\gamemodes\Test.pwn(49 : error 010: invalid function or declaration