Jump to content

Eroare


SpRiTe97
 Share

Recommended Posts

Imi da 4 eroari si nu stiu ce trebuie sa le fac.....

 

La

 

public OnPlayerConnect(playerid)

 

Am adaugat:

 

printf("debug");
SetPlayerPos(playerid,1471.2572,-1770.7183,19.7958);
new file[56];
format(file,sizeof(file),"watches/%s.txt",PlayerName(playerid));
if(!dini_Exists(file))
{
   dini_Create(file);
   dini_IntSet(file,"watch0",0);
   dini_Set(file,"watchname0","None");
   dini_IntSet(file,"watch1",0);
   dini_Set(file,"watchname1","None");
   dini_IntSet(file,"watch2",0);
   dini_Set(file,"watchname2","None");
   dini_IntSet(file,"watch3",0);
   dini_Set(file,"watchname3","None");
   dini_IntSet(file,"watch4",0);
   dini_Set(file,"watchname4","None");
   return 1;
}
 
Erori:
 
(6928)error 012: invalid function call, not a valid address
(6928) : warning 215: expression has no effect
(6928) : error 001: expected token: ";", but found ")"
(6928) : error 029: invalid expression, assumed zero
(6928) : fatal error 107: too many error messages on one line
 
Linia 6928: 
 
format(file,sizeof(file),"watches/%s.txt",PlayerName(playerid));
 
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   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.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. 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.