Jump to content
  • 0

pomoc WTF?


Riso135_

Dotaz

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

  • 0
public OnGameModeInit(playerid) asi takto :)

 

to mu hodi error takhle to nejde :d

 

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

  • 0
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

  • 0
public OnGameModeInit(playerid) asi takto :)

 

to mu hodi error takhle to nejde :d

 

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

  • 0
135[":2frgv69p]
public OnGameModeInit(playerid) asi takto :)

 

to mu hodi error takhle to nejde :d

 

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 :think:

Link to comment
Share on other sites

  • 0

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...