Jump to content

Cum sa creezi un HQ.


Razvann

Recommended Posts

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

if (PlayerToPoint(3.0, playerid,1481.0566,-1770.9563,18.7958))
			{
			    SetPlayerInterior(playerid,3);
				SetPlayerPos(playerid,387.7978,173.8582,1008.3828);
				GameTextForPlayer(playerid, "~w~Welcome to the City Hall", 5000, 1);
				PlayerInfo[playerid][pInt] = 3;
				PlayerInfo[playerid][pLocal] = 241;
			}

Ai uitat sa spui la PlayerInfo[playerid][pInt] = 3; in loc de 3 sa puna ID Interior

E bun tutorialu BV :)

default.png

 

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

Buna am facut si eu un hq dupa tutorialul tau.....iar in final mi-a dat 4 errori

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(28187) : error 017: undefined symbol "x"

else if (PlayerToPoint(3, i,x,y,z))

{

    GameTextForPlayer(i, "~y~Welcome to your ~r~HQ~n~~w~Type /enter to go in", 5000, 5);

}

-------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(14975) : error 017: undefined symbol "x"

if (PlayerToPoint(3.0, playerid,x,y,z))

{

    SetPlayerInterior(playerid,3);

SetPlayerPos(playerid,387.7978,173.8582,1008.3828);

GameTextForPlayer(playerid, "~w~Welcome to your HQ", 5000, 1);

PlayerInfo[playerid][pInt] = 8;

PlayerInfo[playerid][pLocal] = 241;

}

------------------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(5559) : error 017: undefined symbol "x"

if(house == 241)//Rroms HQ

{

    SetPlayerInterior(i,0);

SetPlayerPos(i,x,y,z);

PlayerInfo[pInt] = 0;

PlayerInfo[pLocal] = 255;

}

-----------------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(8047) : error 017: undefined symbol "

    AddStaticPickup(1239, 2, x,y,z); //Rroms HQ

spune-mi si mie ce pun in loc de alea.....plz

Daca ti-am fost de ajutor +1 Respect!Multumesc

Link to comment
Share on other sites

Buna am facut si eu un hq dupa tutorialul tau.....iar in final mi-a dat 4 errori

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(28187) : error 017: undefined symbol "x"

else if (PlayerToPoint(3, i,x,y,z))

{

   GameTextForPlayer(i, "~y~Welcome to your ~r~HQ~n~~w~Type /enter to go in", 5000, 5);

}

-------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(14975) : error 017: undefined symbol "x"

if (PlayerToPoint(3.0, playerid,x,y,z))

{

   SetPlayerInterior(playerid,3);

SetPlayerPos(playerid,387.7978,173.8582,1008.3828);

GameTextForPlayer(playerid, "~w~Welcome to your HQ", 5000, 1);

PlayerInfo[playerid][pInt] = 8;

PlayerInfo[playerid][pLocal] = 241;

}

------------------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(5559) : error 017: undefined symbol "x"

if(house == 241)//Rroms HQ

{

   SetPlayerInterior(i,0);

SetPlayerPos(i,x,y,z);

PlayerInfo[pInt] = 0;

PlayerInfo[pLocal] = 255;

}

-----------------------------------------------------------------------------------------------------

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(8047) : error 017: undefined symbol "

   AddStaticPickup(1239, 2, x,y,z); //Rroms HQ

spune-mi si mie ce pun in loc de alea.....plz

cred ca trebuie sa pui la inceputul scriptului

new Float:x, Float:y, Float:z;

;D

PS: Ce inseamna HQ ? ;D (scz, dar eu nu stiu gf :D)

Link to comment
Share on other sites

scz ca pun atatea intrebari......cand stau pe semnul "i" nu apare mesajul /enter....mesajul "Welcome to your HQ type /enter to go in" apare inainte sa ma loghez sau langa restaurant ...langa blocuri ...plz putin ajutor:D.....merge /enter dar nu apar in hq uitative si la poze:D cred ca e bug la mesajul /enter to go in sa intri in hq si cand intri....ma ajutati va rog?

http://img694.imageshack.us/i/samp010c.png/

http://img694.imageshack.us/i/samp011h.png/

http://img84.imageshack.us/i/samp012i.png/

Daca ti-am fost de ajutor +1 Respect!Multumesc

Link to comment
Share on other sites

if (pickupid == rromshq)

{

      GameTextForPlayer(playerid, "Rroms HQ", 5000, 1);

if(house == 241)//Rroms HQ

{

   SetPlayerInterior(i,0);

SetPlayerPos(i,x,y,z);

PlayerInfo[pInt] = 0;

PlayerInfo[pLocal] = 255;

}

   AddStaticPickup(1239, 2, x,y,z); //Rroms HQ

// rromshq = CreatePickup(1239, 2, 902.3343,-921.2139,42.6016); //Rroms HQ

{

    GameTextForPlayer(i, "~y~Welcome to your ~r~HQ~n~~w~Type /enter to go in", 5000, 5);

}

cam asa ....daca am uitat ceva spune:D....cred ca atat...

Daca ti-am fost de ajutor +1 Respect!Multumesc

Link to comment
Share on other sites

                  if(house == 241)//Rroms HQ
                  {
                     SetPlayerInterior(i,0);
                     SetPlayerPos(i,x,y,z);
                     PlayerInfo[pInt] = 0;
                     PlayerInfo[pLocal] = 255;
                  }

Asta e gresit total.. pune in loc de SetPlayerInterior(i, 0); numarul interiorului tau.. uita-te pe weedar.

Pune in loc de SetPlayerPos coordonatele din interior unde vrei sa intre..

Link to comment
Share on other sites

if(house == 241)//Rroms HQ

{

   SetPlayerInterior(i,8);

SetPlayerPos(i,2807.619873,-1171.899902,1025.570312)

PlayerInfo[pInt] = 0;

PlayerInfo[pLocal] = 255;

}

am facut asa....

D:\Server's!!!\X-Zone\gamemodes\gf_ro2.4.5.pwn(5560) : error 001: expected token: ";", but found "-identifier-"                     :|

PS: gata am aflat problema ms mult.....SetPlayerPos(i,2807.619873,-1171.899902,1025.570312)am uitat (;)

Daca ti-am fost de ajutor +1 Respect!Multumesc

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

×
×
  • Create New...

Important Information

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. For more details you can also review our Terms of Use and Privacy Policy.