HELP! REP++
#1

pawn Код:
if(pickupid == info)
    new help[2500];
    strcat(help, "{FF0000}______________________________________________{33AA33}|- BEGINNER GUIDE -|{FF0000}______________________________________________  \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}House System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Houses All Over San Andreas Map. Houses Come Variety Of Different Styles,Sizes ,And Prices\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Server Has Professional Mapper So They Can Create\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buyh Is To Buy Available House. And /sellh Is TO Sell Your Current House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/lockh Is To Lock Your House. And /unlockh is To Unlock Your House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/enterh To Enter a Houses. And /exith To Exit To The House {COLOR_RED}[NOTE: Dont Use Doors]\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotoh To Teleport To Your House\n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Vehicle Ownership System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Vehicles All Over San Andereas Map. There are 2000 Vehicles Can Buy, 180 Models ,and 15 Max Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}We Have Many Command For Vehicle Ownership System \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vbuy To Buy Vehicles. ,and /vsell To Sell Your Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vcall To call Your Vehicle One By One. and /vpark to Park Your Vehicle \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Business System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Your Bussines Will Earn Specific Ammount Of Money per Hour And That Ammount differs From bussines To Bussines\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buybiz To Buy A Business, /sellbiz To Sell Your Current Business\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotobiz To Teleport To Your Business, /cashbox And Your Money Will be sent to your Bank Account \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Other {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/racehelp To See Race Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/bankhelp(l) To See Laws Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/medichelp(l) To See Medics Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/cellhelp(l) To See Cellphone Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/ganghelp(l) To See Gangs Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/telehelp(l) To See Teleports Commands\n", sizeof(help));
    strcat(help, "{FF0000}________________________________________________________________________________________________________________________________  \n", sizeof(help));
    ShowPlayerDialog(playerid, 123456, DIALOG_STYLE_MSGBOX, "NEW-GENERATION HELP", help, "Close","");
    SendClientMessage(playerid, red,"Press ESC To Close The Dialog");
pawn Код:
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\pawno\include\fixes.inc(2482) : warning 217: loose indentation
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(17586) : error 003: declaration of a local variable must appear in a compound block
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(17586) : error 017: undefined symbol "help"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(17586) : warning 215: expression has no effect
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(17586) : error 001: expected token: ";", but found "]"
C:\Users\carlo\Desktop\SA-MP Server\RolePlay\gamemodes\SATDM_v11.pwn(17586) : fatal error 107: too many error messages on one line

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


4 Errors.
Little Help Here?
Reply
#2

pawn Код:
CMD:help(playerid,params[])
{
    new help[2500];
    strcat(help, "{FF0000}______________________________________________{33AA33}|- BEGINNER GUIDE -|{FF0000}______________________________________________  \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}House System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Houses All Over San Andreas Map. Houses Come Variety Of Different Styles,Sizes ,And Prices\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Server Has Professional Mapper So They Can Create\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buyh Is To Buy Available House. And /sellh Is TO Sell Your Current House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/lockh Is To Lock Your House. And /unlockh is To Unlock Your House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/enterh To Enter a Houses. And /exith To Exit To The House {COLOR_RED}[NOTE: Dont Use Doors]\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotoh To Teleport To Your House\n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Vehicle Ownership System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Vehicles All Over San Andereas Map. There are 2000 Vehicles Can Buy, 180 Models ,and 15 Max Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}We Have Many Command For Vehicle Ownership System \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vbuy To Buy Vehicles. ,and /vsell To Sell Your Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vcall To call Your Vehicle One By One. and /vpark to Park Your Vehicle \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Business System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Your Bussines Will Earn Specific Ammount Of Money per Hour And That Ammount differs From bussines To Bussines\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buybiz To Buy A Business, /sellbiz To Sell Your Current Business\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotobiz To Teleport To Your Business, /cashbox And Your Money Will be sent to your Bank Account \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Other {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/racehelp To See Race Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/bankhelp(l) To See Laws Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/medichelp(l) To See Medics Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/cellhelp(l) To See Cellphone Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/ganghelp(l) To See Gangs Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/telehelp(l) To See Teleports Commands\n", sizeof(help));
    strcat(help, "{FF0000}________________________________________________________________________________________________________________________________  \n", sizeof(help));
    ShowPlayerDialog(playerid, 12345, DIALOG_STYLE_MSGBOX, "NEW-GENERATION HELP", help, "Close","");
    SendClientMessage(playerid, red,"Press ESC To Close The Dialog");
    return 1;
}
pawn Код:
if(pickupid == info)
    new help[2500];
    strcat(help, "{FF0000}______________________________________________{33AA33}|- BEGINNER GUIDE -|{FF0000}______________________________________________  \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}House System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Houses All Over San Andreas Map. Houses Come Variety Of Different Styles,Sizes ,And Prices\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Server Has Professional Mapper So They Can Create\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buyh Is To Buy Available House. And /sellh Is TO Sell Your Current House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/lockh Is To Lock Your House. And /unlockh is To Unlock Your House \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/enterh To Enter a Houses. And /exith To Exit To The House {COLOR_RED}[NOTE: Dont Use Doors]\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotoh To Teleport To Your House\n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Vehicle Ownership System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}You Can Find Vehicles All Over San Andereas Map. There are 2000 Vehicles Can Buy, 180 Models ,and 15 Max Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}We Have Many Command For Vehicle Ownership System \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vbuy To Buy Vehicles. ,and /vsell To Sell Your Vehicles \n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/vcall To call Your Vehicle One By One. and /vpark to Park Your Vehicle \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Business System {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}Your Bussines Will Earn Specific Ammount Of Money per Hour And That Ammount differs From bussines To Bussines\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/buybiz To Buy A Business, /sellbiz To Sell Your Current Business\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/gotobiz To Teleport To Your Business, /cashbox And Your Money Will be sent to your Bank Account \n", sizeof(help));
    strcat(help, "{33AA33}|- {FF0000}Other {33AA33}-|\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/racehelp To See Race Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/bankhelp(l) To See Laws Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/medichelp(l) To See Medics Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/cellhelp(l) To See Cellphone Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/ganghelp(l) To See Gangs Commands\n", sizeof(help));
    strcat(help, "{FFFF00}- {FFFFFF}/telehelp(l) To See Teleports Commands\n", sizeof(help));
    strcat(help, "{FF0000}________________________________________________________________________________________________________________________________  \n", sizeof(help));
    ShowPlayerDialog(playerid, 123456, DIALOG_STYLE_MSGBOX, "NEW-GENERATION HELP", help, "Close","");
    SendClientMessage(playerid, red,"Press ESC To Close The Dialog");
Код:
This forum requires that you wait 120 seconds between posts. Please try again in 37 seconds.
]
Reply
#3

Just show me the line 1756 ...
Reply
#4

pawn Код:
new help[2500];
Reply
#5

pawn Код:
if(pickupid == info)
{
    new help[2500];
    //other
}
do u have brackets ?
Reply
#6

Quote:
Originally Posted by Devilxz97
Посмотреть сообщение
pawn Код:
if(pickupid == info)
{
    new help[2500];
    //other
}
do u have brackets ?
Nope But Work :P
rep+
Reply
#7

no problems
Reply
#8

now My Problem :P
pawn Код:
CMD:agate(playerid,params[])
{
    if(AccInfo[playerid][Level] >= 1
    {
        new string[50];
        new movetime = MoveObject(980, -3152, 1804.8000488281, 9.1000003814697, 2.00);
        format(string, sizeof(string), "Admin Gate Is Now Open");
        SendClientMessage(playerid, 0xFF000000, string);
    }
    return 1;
}
Reply
#9

what's your problems now ?
Reply
#10

Oops It Fix Already
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)