Jump to content

Tutorial GF Business create[0.3c]


heatON

Recommended Posts

  • Replies 61
  • Created
  • Last Reply

Top Posters In This Topic

Asa cum a reusit el asa poti reusi si tu bafta!

El probabil a zis la misto , heatON. :)

if(location == 99 || location == 100 || location == 102)

{

if(BizzInfo[location-99][bProducts] <= 0)

{

GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);

return 1;

}

new mod = 100;

tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

Daca dublam de 2 ori linia 102 de aici , crezi ca o sa rezolvam ceva ?

Razvann te-a intrebat cum putem sa mai facem inca un location, nu cred ca prin " asa cum a reusit si el asa reusesti si tu " o sa reusim sa facem /buygun.

Link to comment
Share on other sites

wtf? ce legatura are asta cu topicul?

El probabil a zis la misto , heatON. :)

if(location == 99 || location == 100 || location == 102)

{

if(BizzInfo[location-99][bProducts] <= 0)

{

GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);

return 1;

}

new mod = 100;

tmp = strtok(cmdtext, idx);

if(!strlen(tmp))

{

Daca dublam de 2 ori linia 102 de aici , crezi ca o sa rezolvam ceva ?

Razvann te-a intrebat cum putem sa mai facem inca un location, nu cred ca prin " asa cum a reusit si el asa reusesti si tu " o sa reusim sa facem /buygun.

poi dublezi location si in loc de 102 pui id-ul la noul interios ( cauti city hall si vezi unde are intrarea acolo faci interiosu si i copiezi id-ul ;) )

default.png

 

Link to comment
Share on other sites

Nu am inteles nimic, poti reformula te rog?

da :)

te duci la:

public OtherTimer()
dai putin in jos si trebuie sa fie City Hall ( daca ai modu GF )
if(house == noul id)//City Hall
						{
						    SetPlayerInterior(i,0);
							SetPlayerPos(i,1480.9103,-1770.3743,18.7958);
							PlayerInfo[i][pInt] = 0;
							PlayerInfo[i][pLocal] = 255;
						}
dublezi asta si in loc de 241 pui 242 sau 243 te uiti sa nu fie altu mai jos cu acelasi id apoi cauti "/enter"                                
 if (PlayerToPoint(3.0, playerid,1480.9103,-1770.3743,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] = noul id;
            }
PlayerInfo[playerid][pLocal] = id-ul nou;
Interioru pe care il treci la
SetPlayerInterior(playerid,id-ul);
si
PlayerInfo[playerid][pInt] = 3;
il vei trece la location ex:
if(location == 99 || location == 100 || location == noul id)
         {
            if(BizzInfo[location-99][bProducts] <= 0)
            {
               GameTextForPlayer(playerid, "~r~Out Of Stock", 5000, 1);
               return 1;
            }
            new mod = 100;
            tmp = strtok(cmdtext, idx);
            if(!strlen(tmp))
            {

pe unde am scris noul id acolo vei pune probabil 243

acum sper ca ai inteles ...

default.png

 

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...
  • 1 month later...
  • 2 weeks later...
Guest eXplossive

Deci , am facut tot ce ai zis in tutorial , am bagat linia facuta de mine in biz din scriptfiles dar , nu pot intra in el si nu apare nici pickup-ul la intrare , respectiv casuta aceea albastra ! Si...am zis cand dau /enter la intrare nu merge :| ! CE FAC !?!?!  :-[  :'(

Link to comment
Share on other sites

  • 2 months later...
  • 1 month later...
Guest RoB3rTo

am facut si eu un bizz, dar cand cineva da enter nu ii ia bani, am pus bizfee dar degeaba, intra pe gratis

EDIT: am rezolvat, doar ca as vrea sa imi ia cati bani pune ownerul bizzului la bizfee...ca asa trebuie sa modific mereu la comanda enter GivePlayerMoney .. as vrea sa fie cat pun la bizfee, cum se poate, multumesc pentru ajutor

Link to comment
Share on other sites

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

Cum aflu bizid ? ca vreau sa incerc sa fac un sbiz si imi trb sbizid si presupun ca e la fel...

<EDIT> am rezolvat :P ... e usor sa faci sbiz trb sa adaugi la comanda SBizzinfo[idbiz] bla bla.... vam dat indiciu acum cautati singuri si ganditiva singuri :P

Samp.OnlyPro.ro - RolePlay - Join Us !

Link to comment
Share on other sites

  • 5 months later...

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.