Jump to content
  • 0

pomoc jak na povolania?


Wonder_kakajda

Dotaz

  • Answers 102
  • Created
  • Last Reply

Top Posters For This Question

Recommended Posts

  • 0

Jestli chces tak si test zmen treba na Polda

-->Pak to bude

Polda = CreatePickup(IDpickupu,1,X,Y,Z); //dopl tvý souřadnice

Poldamenu= CreateMenu("Test", 1, 150.0, 100.0, 250.0, 150.0); //vytvori menu
AddMenuItem(Poldamenu, 0, "Povolani Polda"); //prida do menu text

atd

Link to comment
Share on other sites

  • 0

public OnGameModeInit()

{

žobrák = CreatePickup(212, 2175.6167,-1498.3302,23.9766); //Blízko pri nemocnici

žobrákmenu = CreateMenu("žobrákmenu", 1, 150.0, 100.0, 250.0, 150.0); //Menu žobrák

AddMenuItem(žobrákmenu, 0, "žobrák"); //Pridanie do menu

 

 

_________________________________________________E_R_O_R________

secko mam dobre len toto ne nevete v com tam mam chybu?

Link to comment
Share on other sites

  • 0

Untitled.pwn(42) : error 029: invalid expression, assumed zero

Untitled.pwn(42) : error 017: undefined symbol "obr"

Untitled.pwn(42) : error 029: invalid expression, assumed zero

Untitled.pwn(42) : fatal error 107: too many error messages on one line

Link to comment
Share on other sites

  • 0

Myslim ze tam nemas mit carky a hacky takze: žobrák = zobrak ;)

 

//EDIT richtig:

žobrák = CreatePickup(212,1, 2175.6167,-1498.3302,23.9766); //Blízko pri nemocnici nwm testni

Ma pravdu ten chlapec 8-)

Link to comment
Share on other sites

  • 0
žobrák = CreatePickup(212,1,2175.6167,-1498.3302,23.9766);

 

chyběla ti tam ta 1 ale nwm jestly může být definice s háčkama no skus když tak oddělej řádky :lol:

si pomaly pomaly :d ja som skôr dal tú jednotku :mozilla:

Link to comment
Share on other sites

  • 0

Nechcem aby tu spamovaly dalšie lamy tak tu dám od NFH CLANU je to zatial len prvá verzia v dalšej sa bude dať aj menit skin atd... len není čas

http://nfhclan.f-host.cz/projectstatus/

Link to comment
Share on other sites

  • 0

Tak sem ty tvoje errory napis 8-) A jak to myslíš s tim:

nespravi niekto kompletne dake zamestnanie a ja to len odpisem zmenim nazov a pickup a suradnice pls pls

Vzdyt to tady je...

 

Mezi newy

 

new iPlayerRole[MAX_PLAYERS];

new Menu:testmenu

new test;

 

 

Do OnGameModeInit

 

{

test = CreatePickup(IDpickupu,1,X,Y,Z); //dopl tvý souřadnice

 

testmenu= CreateMenu("Test", 1, 150.0, 100.0, 250.0, 150.0); //vytvori menu

AddMenuItem(testmenu, 0, "Test Povolani"); //prida do menu text

 

 

Do OnplayerPickUpPickup

 

{

if(pickupid == test)

{

ShowMenuForPlayer(testmenu,playerid);

}

return 1;

}

 

 

Do OnPlayerSelectedMenuRow

 

{

new string[256];

new Menu:Current = GetPlayerMenu(playerid);

if (Current == testmenu ) {

switch(row) {

case 0:{

new pname[MAX_PLAYER_NAME];

GetPlayerName(playerid, pname, MAX_PLAYER_NAME);

format(string, sizeof(string), "[!] Hrac %s se pripojil k ****", pname);

SendClientMessageToAll(COLOR_GAMES, string);

printf(string);

ResetPlayerWeapons(playerid);

iPlayerRole[playerid] = 1; //promenna číslo 1

SetPlayerSkin(playerid, IDskinu);

SetPlayerColor(playerid,BARVA);

}

}

}

return 1;

}

 

Vsechno co je cervene si zmen na co chces Bez hacku bez carek a musi to bejt stejny!!!

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