31.01.2012, 06:28
How can I do that? http://imageshack.us/photo/my-images/141/samp005qg.png/ Please help me ... I searched but not found: (
ShowPlayerDialog(playerid, DIALOG_NO_RESPONSE, DIALOG_STYLE_MSGBOX, "test", "Hello World!\t\t\tThis is aligned\nSomething that is longer\tWith this", "OK", "");
COMMAND:cmds(playerid, params[]) { if(Roman[playerid] == 0) { new BigString[1900]; strcat(BigString, "{6EF83C}|======================================== ========================================|\n", 1900 ); strcat(BigString, "{6EF83C}|\t\t\t\t[{0049FF}GENERAL COMMANDS{6EF83C}]\t\t\t\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|======================================== ========================================|\n", 1900 ); strcat(BigString, "{6EF83C}|======================================== ========================================|\n", 1900 ); strcat(BigString, "{6EF83C}|\t{F81414}Account\t{6EF83C}| {F81414}Player Commands\t{6EF83C}| {F81414}Player Commands\t{6EF83C}| {F81414}Player Commands\t {6EF83C}|\n", 1900 ); strcat(BigString, "{6EF83C}|======================================== ========================================|\n", 1900 ); strcat(BigString, "{6EF83C}|\t/register\t|\t/sex\t\t|\t/wepons\t|\t/laseroff\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/login\t\t|\t/ad\t\t|\t/moviemode\t|\t/lasercol\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/stats\t\t|\t/beer\t\t|\t/RO\t\t|\t/ninja\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/time\t\t|\t/beeroff\t|\t/ENG\t\t|\t/mec\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/changepass\t|\t/p\t\t|\t/pm\t\t|\t/wether\t |\n", 1900 ); strcat(BigString, "{6EF83C}|=================== |\t/l\t\t|\t/count\t\t|\t/rampages\t |\n", 1900 ); strcat(BigString, "{6EF83C}| {F81414}Vehicle commands\t{6EF83C}|\t/day\t\t|\t/kill\t\t|\t/rfound\t |\n", 1900 ); strcat(BigString, "{6EF83C}|=================== |\t/night\t\t|\t/animlist\t|\t/mitime\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/v -name car \t|\t/sad\t\t|\t/sb\t\t|=================== |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/tc1\t\t|\t/givecash\t|\t/smok\t\t|{F81414} AttachObjectToPlayer{6EF83C}|\n", 1900 ); strcat(BigString, "{6EF83C}|\t/tc2\t\t|\t/web\t\t|\t/gangwar\t|=================== |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/tc3\t\t|\t/cmenu\t|\t/fs\t\t|\t/stophold\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/neon\t\t|\t/plantbomb\t|\t/sunglasse\t|\t/laba\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/tunar\t\t|\t/buydrungs\t|\t/down\t\t|\t/dildos\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/flipp\t\t|\t/usedrungs\t|\t/brb\t\t|\t/dildos2\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/locck\t\t|\t/snow\t\t|\t/--------\t\t|\t/toroman\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/unlocck\t|\t/snowoff\t|\t/walkstyles\t|\t/scut\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/up\t\t|\t/myskin\t|\t/laseron\t|\t/incred\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|\t/cpv\t\t|\t/nrg\t\t|\t/hold\t\t|\t\t\t |\n", 1900 ); strcat(BigString, "{6EF83C}|======================================== ========================================|\n", 1900 ); strcat(BigString, "{6EF83C} {0049FF}Press 2 to fix the car, you click to add {F81414}NITRO\n", 1900 ); strcat(BigString, " "W"Use the command "R"/bug "W"to report server errors or bugs\n", 1900 ); ShowPlayerDialog(playerid, 1000, DIALOG_STYLE_MSGBOX, "{6EF83C}----- {F81414}GENERAL COMMAND {6EF83C}-----", BigString, "-->oK<--",""); } |
C:\Documents and Settings\alexandra\My Documents\prt.pwn(91) : error 017: undefined symbol "cmds" C:\Documents and Settings\alexandra\My Documents\prt.pwn(92) : warning 217: loose indentation C:\Documents and Settings\alexandra\My Documents\prt.pwn(93) : error 017: undefined symbol "Roman" C:\Documents and Settings\alexandra\My Documents\prt.pwn(93) : warning 215: expression has no effect C:\Documents and Settings\alexandra\My Documents\prt.pwn(93) : error 001: expected token: ";", but found "]" C:\Documents and Settings\alexandra\My Documents\prt.pwn(93) : error 029: invalid expression, assumed zero C:\Documents and Settings\alexandra\My Documents\prt.pwn(93) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors. |
public OnPlayerCommandText(playerid, cmdtext[]) { |