SA-MP Forums Archive
HELP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: HELP (/showthread.php?tid=284718)



HELP - [MKD]Max - 20.09.2011

how i can make House icon not disappear and when i enter this icon show me dialog 1 time help!


not every 5 sec stay show dialog! help


what i mean with 1 stay on every pickup enter show dialog 1 time!


Re: HELP - Kingunit - 20.09.2011

You mean: A house logo and when you are standing inside it it will force a dialog?


Re: HELP - grantism - 20.09.2011

check out the wiki its a great way to learn, it has stuff of pick ups and diaglogs.

https://sampwiki.blast.hk/wiki/ShowPlayerDialog - dialogs

https://sampwiki.blast.hk/wiki/PickupGuide - pickups


Re: HELP - [MKD]Max - 20.09.2011

what i mean when i stay stand on the pickup and not move he stay show me the dialog!


Re: HELP - grantism - 20.09.2011

Im not too sure but would a if is in range of point work?


Re: HELP - Kingunit - 20.09.2011

Create pickup:
https://sampwiki.blast.hk/wiki/CreatePickup
Use the correct type:
https://sampwiki.blast.hk/wiki/PickupTypes

IsPlayerInRangeOfPoint:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Look at the parameters to create it correct.


Re: HELP - grantism - 20.09.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Create pickup:
https://sampwiki.blast.hk/wiki/CreatePickup
Use the correct type:
https://sampwiki.blast.hk/wiki/PickupTypes

IsPlayerInRangeOfPoint:
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Look at the parameters to create it correct.
I did get it right


Re: HELP - Kingunit - 20.09.2011

Quote:
Originally Posted by grantism
Посмотреть сообщение
I did get it right
What you exactly mean? And if you need help with creating one, drop your code and I will help you.


Re: HELP - grantism - 20.09.2011

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
What you exactly mean? And if you need help with creating one, drop your code and I will help you.
I said above, im not sure if im correct but would a if player in in range of point


Re: HELP - Kingunit - 20.09.2011

Quote:
Originally Posted by grantism
Посмотреть сообщение
I said above, im not sure if im correct but would a if player in in range of point
You need to use:
IsPlayerInRangeOfPoint
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint