Jump to content

Recommended Posts

  • Replies 62
  • Created
  • Last Reply

Top Posters In This Topic

Posted

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

 

  • 2 weeks later...
Posted

hmm e destul de bun tutorialu bv

  • 2 weeks later...
Posted

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

Posted

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)

Posted

mersi mult:)HQ =o locuinta a mafiilor .....adica ca si casa lor doar ca e HQ si poti lua si arme:P

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

Posted

Acum nu imi apare niciun " i " nici la primarie nici la HQ ce lam creat....si din afara hq-ului nu pot intra in hq scriind /enter    ajutatima plz

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

Posted

1. AddStaticPickup([iD-ul pickup-ului], 2, x,y,z);

2. Definesti [new], la public OnGameModeInit() scrii  [numele pe care l-ai definit] = CreatePickup(1239, 23, x, y, z);

3. Succes & Have Fun

Posted

Explici mai bine te rog?:D....adica dami un exemplu cum ar trebui sa fie.....si id pickupului adica id?:D

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

Guest big_smooke
Posted

Uite "http://weedarr.wikidot.com/pickups" aici sunt toate id de pickup sper sa te ajute.

Posted

. Definesti [new], la public OnGameModeInit() scrii  [numele pe care l-ai definit] = CreatePickup(1239, 23, x, y, z);                    imi dai te rog un exemplu?.....ms

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

Posted

La OnGameModeInIt() pui

AddStaticPickup(1239, 2, coordonatele);

Cooronatele le afli dand in joc /save unde vrei sa fie I-ul si le gasesti in folder-ul cu GTA SA, in savedpostions.txt.

Posted

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

Posted

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

Posted

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

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.