Jump to content
  • 0

Ajutor


zroT

Question

Salut.

Vreau sa stiu si eu daca pun un interior la casa ID 10, si din nou acelasi interior la casa ID 43. Iar cand dau /exit din casa Id 10 sa nu ma dea la casa Id 43 !

Adica intrebare este, daca pot utiliza un interior de la o casa la mai multe case ???

stats.php?page=2&ip=samp.zonek.ro&port=7777
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Te folosesti de SetPlayerVirtualWorld si mai creezi o variabla new InHouse[MAX_PLAYERS] , sau cum vrei tu sa se numeasca , asta e cel mai simplu mod cred..

Eu cel putin asta folosesc.. Cand intra playerul in casa sa-i puna virtualworld 'x' si InHouse[playerid] = houseid;

Iar atunci cand scrie /exit sa verifice :

 if (PlayerToPoint(3, playerid,HouseInfo[i][hExitx], HouseInfo[i][hExity], HouseInfo[i][hExitz]) && InHouse[playerid] == i) 

Ti-am scris pe scurt ideea , ar trebui sa te descurci mai departe.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • 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.