I have 2 easy questions : - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I have 2 easy questions : (
/showthread.php?tid=149706)
I have 2 easy questions : -
ViruZZzZ_ChiLLL - 23.05.2010
First Question :
What is the Map Icon that can be seen in the radar/mini-map anywhere?
Second Question :
How can I make a certain car, spawn not by seconds, but when the car
explodes, it should spawn into its original position.
Re: I have 2 easy questions : -
Blt950 - 23.05.2010
To create map icons use:
SetPlayerMapIcon() [
https://sampwiki.blast.hk/wiki/SetPlayerMapIcon]
To set a car that spawns each time it get's exploded use:
AddStaticVehicle() [
https://sampwiki.blast.hk/wiki/AddStaticVehicle]
If you want the car to spawn after e.g. 5 minutes after it exploded use
AddStaticVehicleEx() [
https://sampwiki.blast.hk/wiki/AddStaticVehicleEx]
Re: I have 2 easy questions : -
ViruZZzZ_ChiLLL - 23.05.2010
Quote:
Originally Posted by Blt950
|
I already know the Map Icon, I'm asking what is the map icon (ID) that can be seen anywhere?
Re: I have 2 easy questions : -
DJDhan - 23.05.2010
Quote:
Originally Posted by ViruZZzZ_ChiLLL
I already know the Map Icon, I'm asking what is the map icon (ID) that can be seen anywhere?
|
Umm, all the map icons can be seen on the map, rite?
Re: I have 2 easy questions : -
TheNuttyScientist - 23.05.2010
Quote:
Originally Posted by DJDhan
Umm, all the map icons can be seen on the map, rite?
|
I think they are.
Re: I have 2 easy questions : -
Blt950 - 23.05.2010
I don't think you can do that with icons. But you can do that with
SetPlayerMarkerForPlayer() [
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer]
Re: I have 2 easy questions : -
ViruZZzZ_ChiLLL - 23.05.2010
Quote:
Originally Posted by DJDhan
Quote:
Originally Posted by ViruZZzZ_ChiLLL
I already know the Map Icon, I'm asking what is the map icon (ID) that can be seen anywhere?
|
Umm, all the map icons can be seen on the map, rite?
|
lol, no I mean, you can see a map icon, from LV even when your in LS
Re: I have 2 easy questions : -
[HiC]TheKiller - 23.05.2010
Quote:
Originally Posted by ViruZZzZ_ChiLLL
Quote:
Originally Posted by DJDhan
Quote:
Originally Posted by ViruZZzZ_ChiLLL
I already know the Map Icon, I'm asking what is the map icon (ID) that can be seen anywhere?
|
Umm, all the map icons can be seen on the map, rite?
|
lol, no I mean, you can see a map icon, from LV even when your in LS
|
What? You meant a checkpoint?
Re: I have 2 easy questions : -
Born2die - 23.05.2010
I think he means a default map icon.
Re: I have 2 easy questions : -
Sergei - 23.05.2010
In SP mission map icons can be seen from anywhere and are always on minimap. In SAMP they only show up on minimap when you are near. You can't change that.
And for vehicle respawn just put (-1) there and it won't be respawned automaticalyl because of inactivity.