Help ! i cant compile
#1

hey guys ! i just create gamemode and the line is 25k ! when i compile , is very long i waiting or maybe crash ! please help me !
Reply
#2

before that !
i added helmet system
and chnge
Quote:

/*if(gTeam[playerid] != gTeam[issuerid])
{
if(weaponid == 34 && WEAPON_BODY_PART_HEAD)
{
/*if(Helmet[playerid] == 1)
{
new nama[MAX_PLAYER_NAME]
new string[128]
GetPlayerName(playerid, nama, sizeof(nama));
GameTextForPlayer(playerid,"~r~- %s HAS HAVE HELMET ~g~ -20HP -!", nama, 3000,3);
format(string, sizeof(string), "[HELMET]: [%s] Has Have Helmet ! -20HP To Him", name);
SendClientMessage(0xFF0019FF,string);
}
else
{*/
if(issuerid != INVALID_PLAYER_ID && weaponid == 34 && WEAPON_BODY_PART_HEAD && gTeam[playerid] != gTeam[issuerid])
{

and after that i added in (OnDialogRespone) Buy Helmet ! after that i crash !
Reply
#3

If its crashes you should check on your recent script, it may be the reason.
Try deleting it and re-compile.
Reply
#4

And i incresead in buy item "cblue" a means color

sorry my bad english
Reply
#5

Did you try what I've told you ? you may have forgot a bracket "{".
Reply
#6

i have 3474 opening ! and 3474 closes
Reply
#7

Did you try taking out your recent edition to the script and recompile it? And you may have the same amounts bit are they all in the right places to match with each other?
Reply
#8

I know that the bigger the script gets the longer it takes to compile. But if it genuinely is crashing and isn't recovering (cause I know the script I work with takes a good 3 minutes to compile) then you're missing a bracket. I also know that invalid switch statements can cause it to.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)