SA-MP Forums Archive
heeelppp - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Română/Romanian (https://sampforum.blast.hk/forumdisplay.php?fid=40)
+---- Thread: heeelppp (/showthread.php?tid=522314)



heeelppp - ionutsx - 26.06.2014

salut. am si eu o mica problema putin mai mare. am un sistem de carownership dar nu stiu unde se afla locatia dealership-ului. mi-o puteti spune voi

codul pwn este asta : http://pastebin.com/RgxV6DfY

P.S Nu stiu daca am postat unde trebuie ,dar poate ma ajutati .


Re: heeelppp - r0bi - 27.06.2014

Pai ce vrei sa stii exact, sau ce vrei sa faci?


Re: heeelppp - [NoV]LaZ - 27.06.2014

Ai in cod functia IsAtDealership.


Re: heeelppp - ionutsx - 27.06.2014

Quote:

public IsAtDealership(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) || PlayerToPoint(50,playerid,537.3366,-1293.2140,17.2422) || PlayerToPoint(35,playerid,2521.5544,-1524.4504,23.8365) || PlayerToPoint(50,playerid,2155.0146,-1177.3333,23.8211) || PlayerToPoint(50,playerid,299.1723,-1518.6627,24.6007))
{
return 1;
}
}
return 0;
}

deci in functia asta ar trebui sa fie locatia dealership-ului nu? si locatiile sunt astea: if(PlayerToPoint(25.0,playerid,2128.0864,-1135.3912,25.5855) || PlayerToPoint(50,playerid,537.3366,-1293.2140,17.2422) || PlayerToPoint(35,playerid,2521.5544,-1524.4504,23.8365) || PlayerToPoint(50,playerid,2155.0146,-1177.3333,23.8211) || PlayerToPoint(50,playerid,299.1723,-1518.6627,24.6007)) .

in locatiile astea nu e nimic. ce tre sa fac ca sa apara acolo dealership-ul? sau macar un dealership bun de unde pot gasi (asemamator).