Jump to content
  • 0

Ajutor include


Aesma

Question

Salut,am urmatoarele probleme cu o linie in include:

 

C:\Users\User\Desktop\LinkMania RPG\GameMode Server - LinkMania\pawno\include\in.inc(238) : error 017: undefined symbol "AddRouletteTable"
C:\Users\User\Desktop\LinkMania RPG\GameMode Server - LinkMania\pawno\include\in.inc(238) : warning 215: expression has no effect
C:\Users\User\Desktop\LinkMania RPG\GameMode Server - LinkMania\pawno\include\in.inc(238) : error 029: invalid expression, assumed zero
C:\Users\User\Desktop\LinkMania RPG\GameMode Server - LinkMania\pawno\include\in.inc(238) : error 017: undefined symbol "interior"
C:\Users\User\Desktop\LinkMania RPG\GameMode Server - LinkMania\pawno\include\in.inc(238) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.2.3664              Copyright (c) 1997-2017, ITB CompuPhase


4 Errors.

Linia 238 arata cam asa

AddRouletteTable(0, 2241.6997, 1618.2415, 1006.1790,    .world = 1,     .interior = 1);

Multumesc pentru timpul acordat. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
stock AddRouletteTable(idx, Float: pos_x, Float: pos_y, Float: pos_z, Float: rot_x = 0.0, Float: rot_y = 0.0, Float: rot_z = 0.0, world = 0, interior = 0, bool: create_object = false)
{
    if(create_object) E_ROULETTE[idx][rouletteObject] = CreateDynamicObject(1978, pos_x, pos_y, pos_z, rot_x, rot_y, rot_z, world, interior);
    E_ROULETTE[idx][roulettePlayers] = 0, E_ROULETTE[idx][rouletteLabel] = CreateDynamic3DTextLabel("(( ROULETTE TABLE ))\nTable is {00BA19}available{9CBFE5}\nSlots Occupied: 0/5", 0x9CBFE5FF, pos_x, pos_y, pos_z, 10.0, .worldid = world, .interiorid = interior);
    return idx;
}

Pwp

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.