SpRiTe97 Posted February 19, 2017 Share Posted February 19, 2017 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)); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.