Jump to content
  • 0

Dc imi da errorile astea?


evilangel

Question

Salut deci am facu un fs cu ajutorul cariua sa iti apara deaspra capului un TEXT 3D am facut .PWN si imi da erorile asta cand il compilez imi da errorile asta:(:warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")

warning 235: public function lacks forward declaration (symbol "OnPlayerConnect")

: error 017: undefined symbol "Info"

warning 215: expression has no effect

error 001: expected token: ";", but found "]"

error 029: invalid expression, assumed zero

fatal error 107: too many error messages on one line

FS arata cam asa:[table]

public OnPlayerConnect(playerid)

{

if(Info[playerid][Level] ==126|| Info[playerid][Level] ==127)

{

new Text3D:Admin3D[MAX_PLAYERS];

Admin3D[playerid] = Create3DTextLabel("SGM",COLOR_WHITE,0.0,0.0,0.0,50.0,-1,1);

Attach3DTextLabelToPlayer(Admin3D[playerid], playerid, 0.0, 0.0, 0.5);

}

[/table]

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

=-" post="103779" timestamp="1323963190"]

Iti lipseste o }

error 017: undefined symbol "Info"  Ii lipseste o "}"?

[pawn]if(Info[playerid][Level][/pawn]

Schimba in

[pawn]if(PlayerInfo[playerid][Level][/pawn]

Cauta in GM public OnPlayerConnect si pune acolo scriptu daca nu gasesti pune da fara playerid la sfarsit.

Data viitoare posteaza la discutii scripting.

gXvsYS
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.