Riso135_ 2 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 Prosím keby mi niekto s tymto pomohol! Ďakujem vopred. Error: C:\Users\Richard\Desktop\Sa-mP MoDy\SWX\pawno\include\lts_gangs.inc(442) : error 010: invalid function or declaration Riadok: native CreateGang(%,%,%,%,%,MAX_MONEY,MAX_MEMBERS); Error2: C:\Users\Richard\Desktop\SA-MP Offline Server\gamemodes\mod.pwn(563) : error 017: undefined symbol "playerid" Riadok(je to v OnGameModeInit): CreateGang(playerid,1958.3783,1343.1572,15.3746,100000); Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 public OnGameModeInit nema v parametrech playerid.. Link to comment Share on other sites More sharing options...
0 Riso135_ 2 Odesláno: 6. Srpen, 2011 Author Share Odesláno: 6. Srpen, 2011 a da sa to nejak nadefinovat ? Link to comment Share on other sites More sharing options...
0 _MiGueL_22 0 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 public OnGameModeInit(playerid) asi takto Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 public OnGameModeInit(playerid) asi takto to mu hodi error takhle to nejde 135[":2nw2h4oa]a da sa to nejak nadefinovat ? no nic me nenapada .. tak to proste soupni do nejakeho jineho publicu no treba OnPlayerConnect nebo OnPlayerSpawn Link to comment Share on other sites More sharing options...
0 Riso135_ 2 Odesláno: 6. Srpen, 2011 Author Share Odesláno: 6. Srpen, 2011 public OnGameModeInit(playerid) asi takto dal som to tam a teraz toto: C:\Users\Richard\Desktop\lifeinsa.pwn(113) : error 025: function heading differs from prototype Riadok: CreateGang(playerid,1958.3783,1343.1572,15.3746,100000); Link to comment Share on other sites More sharing options...
0 _MiGueL_22 0 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 takze uz tam mas len 1 error hmmm tak to potom neviem Link to comment Share on other sites More sharing options...
0 Riso135_ 2 Odesláno: 6. Srpen, 2011 Author Share Odesláno: 6. Srpen, 2011 public OnGameModeInit(playerid) asi takto to mu hodi error takhle to nejde 135[":fspqerdu]a da sa to nejak nadefinovat ? no nic me nenapada .. tak to proste soupni do nejakeho jineho publicu no treba OnPlayerConnect nebo OnPlayerSpawn dal som to tam a toto: C:\Users\Richard\Desktop\lifeinsa.pwn(113) : error 025: function heading differs from prototype ten isty riadok: CreateGang(playerid,1958.3783,1343.1572,15.3746,100000); Link to comment Share on other sites More sharing options...
0 DooM 93 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 135[":2frgv69p] public OnGameModeInit(playerid) asi takto to mu hodi error takhle to nejde 135[":2frgv69p]a da sa to nejak nadefinovat ? no nic me nenapada .. tak to proste soupni do nejakeho jineho publicu no treba OnPlayerConnect nebo OnPlayerSpawn dal som to tam a toto: C:\Users\Richard\Desktop\lifeinsa.pwn(113) : error 025: function heading differs from prototype ten isty riadok: CreateGang(playerid,1958.3783,1343.1572,15.3746,100000); tohle uz je zase uplne jiny error... nehorazne me ted boli hlava a pawn jsem nedelal straasne dlouho!! tak si nejak nevzpominam co ten error znamena Link to comment Share on other sites More sharing options...
0 EnginER 0 Odesláno: 6. Srpen, 2011 Share Odesláno: 6. Srpen, 2011 Podla mňa máš chybu v include! lebo v include máš nastavených 7 parametrov a hintam máš iba 5 CreateGang(%,%,%,%,%,MAX_MONEY,MAX_MEMBERS); // 7 CreateGang(playerid,x,y,z,10000); + Ked tam chces mat playerid a súradnice tak by sa to malo začínať takto pokial sa nemýlim native CreateGang(playerid,Float:x,Float:y,Float:z,MAX_MONEY,MAX_MEMBERS); A niesom si celkom isty ci je potrebné aj definovat MAX_MONEY a tak Link to comment Share on other sites More sharing options...
Dotaz
Riso135_ 2
Prosím keby mi niekto s tymto pomohol!
Ďakujem vopred.
Error: C:\Users\Richard\Desktop\Sa-mP MoDy\SWX\pawno\include\lts_gangs.inc(442) : error 010: invalid function or declaration
Riadok: native CreateGang(%,%,%,%,%,MAX_MONEY,MAX_MEMBERS);
Error2: C:\Users\Richard\Desktop\SA-MP Offline Server\gamemodes\mod.pwn(563) : error 017: undefined symbol "playerid"
Riadok(je to v OnGameModeInit):
CreateGang(playerid,1958.3783,1343.1572,15.3746,100000);
Link to comment
Share on other sites
9 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now