What is the problem ?
#1

thx for helping
Reply
#2

please help!
Reply
#3

There should be {color} right? Idk how you have your colors defined but I think you need it like {"COL_D1"}
Reply
#4

Got it thx, but says line is to long

pawn Код:
C:\Users\Kodu\Desktop\samp03csvr_win32\gamemodes\LV-SE.pwn(2792) : error 075: input line too long (after substitutions)
C:\Users\Kodu\Desktop\samp03csvr_win32\gamemodes\LV-SE.pwn(2793) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Kodu\Desktop\samp03csvr_win32\gamemodes\LV-SE.pwn(2793) : error 029: invalid expression, assumed zero
C:\Users\Kodu\Desktop\samp03csvr_win32\gamemodes\LV-SE.pwn(2793) : error 029: invalid expression, assumed zero
C:\Users\Kodu\Desktop\samp03csvr_win32\gamemodes\LV-SE.pwn(2793) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.
what i do now?
i don't know how to create a >> next page
Reply
#5

How to create ? Next page ?
Reply
#6

DUDE. Use switch
Reply
#7

Quote:
Originally Posted by _rAped
Посмотреть сообщение
DUDE. Use switch
like how?

like
pawn Код:
if(listitem == 2) // Fun Maps
            {
                ShowPlayerDialog(playerid, DIALOGID_TELES+3, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Fun Maps", ""{2040ff}"Trampoline\n"{20a0ff}"Bike Fun\n"{2040ff}"Sky Kine Couster\n"{20a0ff}"Disney Land\n"{2040ff}"Tug Fun\n"{20a0ff}"Monster Farm\n"{2040ff}"Monster Challenge\n"{20a0ff}"BMX Challenge\n"{2040ff}"Car Sumo\n"{20a0ff}"HP\n"{2040ff}"Bowl\n"{20a0ff}"NRG-500 Bowl\n"{2040ff}"Long Falling\n"{20a0ff}"Going Down\n"{2040ff}"Drop\n"{20a0ff}"BBC\n"{2040ff}"Wallride\n"{20a0ff}"Slide\n"{2040ff}"Xtreme Slide\n"{20a0ff}"Loop\n"{2040ff}"Pipe\n"{20a0ff}"NRG-500\n"{2040ff}"Bike Skills\n"{20a0ff}"Skatepark\n"{2040ff}"Ball\n"{20a0ff}"Spiral","Teleport","Cancel");
            }
like how i don't get it
Reply
#8

Quote:
Originally Posted by Mr.Jvxmc
Посмотреть сообщение
like how?

like
pawn Код:
if(listitem == 2) // Fun Maps
            {
                ShowPlayerDialog(playerid, DIALOGID_TELES+3, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Fun Maps", ""{2040ff}"Trampoline\n"{20a0ff}"Bike Fun\n"{2040ff}"Sky Kine Couster\n"{20a0ff}"Disney Land\n"{2040ff}"Tug Fun\n"{20a0ff}"Monster Farm\n"{2040ff}"Monster Challenge\n"{20a0ff}"BMX Challenge\n"{2040ff}"Car Sumo\n"{20a0ff}"HP\n"{2040ff}"Bowl\n"{20a0ff}"NRG-500 Bowl\n"{2040ff}"Long Falling\n"{20a0ff}"Going Down\n"{2040ff}"Drop\n"{20a0ff}"BBC\n"{2040ff}"Wallride\n"{20a0ff}"Slide\n"{2040ff}"Xtreme Slide\n"{20a0ff}"Loop\n"{2040ff}"Pipe\n"{20a0ff}"NRG-500\n"{2040ff}"Bike Skills\n"{20a0ff}"Skatepark\n"{2040ff}"Ball\n"{20a0ff}"Spiral","Teleport","Cancel");
            }
like how i don't get it
That would be something like this:
pawn Код:
if(dialogid == DIALOGID_TELES)
{
    if(!response) return ShowPlayerDialog(playerid, DIALOGID_TELES, DIALOG_STYLE_LIST, ""COL_D1"Teleports", ""COL_D2"Stuntzones\n"COL_D3"Jumps\n"COL_D2"Fun Maps\n"COL_D3"Races\n"COL_D2"Misc\n"COL_D3"Deathmatches\n"COL_D2"Tuning locations", "Select", "Cancel");
    {
        switch(listitem)
        {
            case 0: ShowPlayerDialog(playerid, DIALOGID_TELES+1, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Stuntzones", "Las Venturas\nSan Fierro\nAbadoned Airport\nLos Santos Airport\nSan Fierro Airport\nMount Chilliad\nHoover Dam\nBoats\nBeach", "Teleport", "Cancel");
            case 1: ShowPlayerDialog(playerid, DIALOGID_TELES+2, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Jumps", ""COL_D5"Base jump\n"COL_D4"Tunnel jump\n"COL_D5"Mount Chilliad Jump\n"COL_D4"Huge Jump\n"COL_D5"Mega Jump\n"COL_D4"Building Jump\n"COL_D5"Big Jump\n"COL_D4"Abadoned Airport Jump\n"COL_D5"San Fierro Jump\n"COL_D4"Bike Jump\n"COL_D5"Glass Jump\n"COL_D4"Water Jump\n"COL_D5"Mine Jump\n"COL_D4"Pipe Jump", "Teleport", "Cancel");
            case 2: ShowPlayerDialog(playerid, DIALOGID_TELES+3, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Fun Maps", ""COL_D4"Trampoline\n"COL_D5"Bike Fun\n"COL_D4"Sky Kine Couster\n"COL_D5"Disney Land\n"COL_D4"Tug Fun\n"COL_D5"Monster Farm\n"COL_D4"Monster Challenge\n"COL_D5"BMX Challenge\n"COL_D4"Car Sumo\n"COL_D5"HP\n"COL_D4"Bowl\n"COL_D5"NRG-500 Bowl\n"COL_D4"Long Falling\n"COL_D5"Going Down\n"COL_D4"Drop\n"COL_D5"BBC\n"COL_D4"Wallride\n"COL_D5"Slide\n"COL_D4"Xtreme Slide\n"COL_D5"Loop\n"COL_D4"Pipe\n"COL_D5"NRG-500\n"COL_D4"Bike Skills\n"COL_D5"Skatepark\n"COL_D4"Ball\n"COL_D5"Spiral","Teleport","Cancel");
            case 3: ShowPlayerDialog(playerid, DIALOGID_TELES+4, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Races", ""COL_D5"Las Venturas Drift\n"COL_D4"San Fierro Drift\n"COL_D5"Hospital Drift\n"COL_D4"Las Venturas Airport\n"COL_D5"NRG-500 Race\n"COL_D4"Racemap\n"COL_D5"Kart Track", "Teleport", "Cancel");
            case 4: ShowPlayerDialog(playerid, DIALOGID_TELES+5, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Misc", ""COL_D4"Wang Cars\n"COL_D5"Otto's Cars\n"COL_D4"Andro\n"COL_D5"Truckstop\n"COL_D4"Eiffel Tower\n"COL_D5"Ufo Bar\n"COL_D4"Hippy\n"COL_D5"Jailisland\n"COL_D4"Grotto", "Teleport", "Cancel");
            case 5: ShowPlayerDialog(playerid, DIALOGID_TELES+6, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Deathmatches", ""COL_D6"War Deathmatch\n"COL_D7"Minigun Deathmatch\n"COL_D6"Rocket Deathmatch\n"COL_D7"Under Water Deathmatch", "Teleport", "Cancel");
            case 6: ShowPlayerDialog(playerid, DIALOGID_TELES+7, DIALOG_STYLE_LIST, ""COL_D1"Teleports/Tuning locations", ""COL_D4"TransFender\n"COL_D5"Wheel Arch Angels\n"COL_D4"Loco Low Co\n"COL_D5"Pay N Spray", "Teleport", "Cancel");
        }
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)