[ Aide ] intйrieur bizz
#1

Bonjour !

Alors j'ai un soucis avec mon intйrieur de bizz

L'intйrieur choisis est celui lа (Tirй du site https://sampwiki.blast.hk/wiki/Interior) :

Quote:

Jefferson Motel 15 2220.26 -1148.01 1025.80 Large Motel with lot of rooms Mission "Reuniting the Families", Jefferson, Los Santos

Alors dans mon sbizz.cfg :

Quote:

1|Paradize_Admin|~w~Test bizz|No-one|476.088500|-1279.495971|16.487499|5|5000000|0|0|1|0|100|100|10 0

Dans mon bizz.cfg :

Quote:

1|Paradize_Admin|~w~Test bizz|No-one|476.088500|-1279.495971|16.487499|2220.260009|-1148.010009|1025.800048|5|5000000|0|0|0|0|99|100|1 00

Et dans mon GM :

Quote:

new BizzInfo[8][bInfo];

et
Quote:

new SBizzInfo[13][sbInfo];

Ensuite (/entrer) :

Quote:

else if (PlayerToPoint(3.0, playerid,2695.6235,-1704.6960,11.843)
{
GameTextForPlayer(playerid, "~w~Bienvenue au 8ball Track", 5000, 1);
SetPlayerInterior(playerid,7);
SetPlayerPos(playerid,-1404.5299,-259.0602,1043.6563);
}
else if (PlayerToPoint(8.0, playerid,-2111.5686,-443.9720,38.7344))
{
GameTextForPlayer(playerid, "~w~Bienvenue au Dirt Track", 5000, 1);
SetPlayerInterior(playerid,4);
SetPlayerPos(playerid,-1443.0554,-581.1879,1055.0472);
}
else if (PlayerToPoint(8.0, playerid,-2080.3079,-406.0309,38.7344))
{
GameTextForPlayer(playerid, "~w~Bienvenue au Stunting Track", 5000, 1);
SetPlayerInterior(playerid,14);
SetPlayerPos(playerid,-1464.7732,1557.5533,1052.5313);
}
else if (PlayerToPoint(8.0, playerid,476.088500,-1279.495971,16.487499))
{
GameTextForPlayer(playerid, "~w~Bienvenue au test biz ", 5000, 1);
SetPlayerInterior(playerid,15);
SetPlayerPos(playerid,2220.26,-1148.01,1025.80);

}
}
return 1;
}

/sortir :

Quote:

else if (PlayerToPoint(8.0, playerid,476.088500,-1279.495971,16.487499))
{
SetPlayerInterior(playerid,15);
SetPlayerPos(playerid,2220.26,-1148.01,1025.80);
}

Pourquoi quand je rentre dans mon bizz..je tombe dans le vide ??
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)