14.02.2019, 20:33
Quote:
C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(993) : error 075: input line too long (after substitutions) C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(994) : error 037: invalid string (possibly non-terminated string) C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(994) : error 017: undefined symbol "FFFFFF" C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(994) : warning 217: loose indentation C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(994) : error 017: undefined symbol "READ" C:\Users\Solmileidis Garcia\Desktop\Jesus\Clean Server\gamemodes\GTASARPG.pwn(994) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
pawn Код:
native ShowPlayerDialog(playerid, dialogid, caption[], info[], button1[], button2[]);
- playerid
- dialogid the dialog you defined to
- caption[] a string abouve 64 characters is a invalid string length
- title[] the message you will put in the dialog to show
- button1[] - what ever you typed the response to the button1 is 1 (left)
- button2[] - what ever you typed the response to the button 2 is 0 (right)
is you define a color to e text - embedded colors could be like so
example:
pawn Код:
format(s, sizeof(s), ""RED"this is red and"{ffffff}"this is white");
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext) { switch(dialogid) { case 0: { if(response == 0) else{} } } return 1; }