Evo ovako sam stavio da mi ispise /help:
CitatShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"______________________________Komande servera______________________________ " , " *** KORISNICKI RACUN *** /rules /stats /buylevel /upgrade \n ***OSNOVNO *** /pay /charity /time /buy /unrentcar /givekey /switchkey /id /drink /music /showlicenses /clothes /showmycard \n *** OSNOVNO *** /report /cancel /accept /eject /usedrugs /contract /fill /fillcar /clear /service /togrpgwar /animlist *** RAZGOVOR *** (/w)hisper (/o)oc (/s)hout (/c)lose (/l)ocal (/b) (/ad)vertise (/f)amily /me /togooc /tognews /togwhisper /map /fuel \n *** BANKA *** /balance /withdraw /deposit /wiretransfer" ,"Zatvori","Zatvori");
Al mi izbacuje 5 errora :S
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 029: error 017: undefined symbol "RACUN"
error 017: error 017: undefined symbol "rules"
fatal error 107: too many error messages on one line
pa ti pise, preduga input linija, nisi nesto sa navodnicima dobro slozio mi se cini...
nije stvar u tome sta je predugacko, odi na speedtouch pogledaj kolko tog :S
Citat: [LG]_eXtReMe_ poslato Novembar 29, 2009, 15:28:33 POSLE PODNE
Evo ovako sam stavio da mi ispise /help:
CitatShowPlayerDialog(playerid,10,DIALOG_STYLE_MSGBOX,"______________________________Komande servera______________________________ " , " *** KORISNICKI RACUN *** /rules /stats /buylevel /upgrade \n ***OSNOVNO *** /pay /charity /time /buy /unrentcar /givekey /switchkey /id /drink /music /showlicenses /clothes /showmycard \n *** OSNOVNO *** /report /cancel /accept /eject /usedrugs /contract /fill /fillcar /clear /service /togrpgwar /animlist *** RAZGOVOR *** (/w)hisper (/o)oc (/s)hout (/c)lose (/l)ocal (/b) (/ad)vertise (/f)amily /me /togooc /tognews /togwhisper /map /fuel \n *** BANKA *** /balance /withdraw /deposit /wiretransfer" ,"Zatvori","Zatvori");
Al mi izbacuje 5 errora :S
error 075: input line too long (after substitutions)
error 037: invalid string (possibly non-terminated string)
error 029: error 017: undefined symbol "RACUN"
error 017: error 017: undefined symbol "rules"
fatal error 107: too many error messages on one line
sta ti nije lakse ovako i tocnije xD :D
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "|~|~|Commands|~|~|");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, ".");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "");
SendClientMessage(playerid, COLOR_LIGHTBLUE, "__________________________________________________");
return 1;
}
tako vec imam ja sam htio malo lijepse i modernije napravit xD
on oce s GUI :d
Daj ba moze mi neko objasnit kak da normalno napravim kao sto je na ST i zas mi dolaze ovi errori xD
http://wiki.sa-mp.com/wiki/ShowPlayerDialog
a jako si mi pomogo si uopce gledo sta sam napiso gore?
Naso sam odgovor na svoje pitanje na samp forumu oni barem nes znaju :S
daj lokotic :D