Map Making Tutorial II
#91
http://wiki.sa-mp.com/wiki/SetTimer

There is an example how it works.
Reply
#92
(04-15-2018, 12:22 AM)Redirect Left Wrote: Yes. You just need to use SetVehiclePos (http://wiki.sa-mp.com/wiki/SetVehiclePos) to teleport people and their vehicles.

You'll also need to make sure Z_FALLOFF accounts for under water.

It would be better to understand the example of the map, rather than from the English-language wiki
"Good job" admins.
protection of violators 10 \ 10
Reply
#93
I've made a map ( Jumping Jack 2 ), which includes a lot of stunting places.
But, because of these places, the players' health decreases really quickly.
I was planning to add an object,on passing through which, will give some health.


I have 0 (yes Zero) idea on scripting. I just found out , that we have to code-script-stuff in Pawno.. just that.
Please help!
[Image: sig.php?name=roosterking]


The Fidget-Maker Dodgy
Reply
#94
I assume by 'object' you mean a pickup.

Code:
//The line below should be placed next to the other 'new ...;' stuff in your map file.
new mypickup;

public OnGameModeInit()
{
    //Put the line below either below or on top of you map objects.
    mypickup=CreatePickup(1240,PICKUPTYPE,X.X,Y.Y,Z.Z); //Replace PICKUPTYPE with one of these IDs: http://wiki.sa-mp.com/wiki/PickupTypes and your co-ords.
    return 1;
}

//The rest belongs to the end of your code.
public OnPlayerPickUpPickup(playerid,pickupid)
{
    if(pickupid==mypickup)
    {
        new myvehicle=GetPlayerVehicleID(playerid);//Get the player's vehicle.
         SetVehicleHealth(myvehicle,1000.0);//Sets its health to 100%.
    }
    return 1;
}
Reply
#95
How to delete an object if i take the original map?
"Good job" admins.
protection of violators 10 \ 10
Reply
#96
??
If you are using JerneJL's editor, just click on that object and press delete button..

If you are asking for Pawno -> IDK

If you are asking for RDL's Editor -> IDK :3

sry.
[Image: sig.php?name=roosterking]


The Fidget-Maker Dodgy
Reply
#97
(05-24-2018, 08:07 AM)RoOsTeRKiNg Wrote: ??
Если вы используете редактор JerneJL, просто нажмите на этот объект и нажмите кнопку удаления.

Если вы просите Pawno -> IDK.

Если вы просите редактора RDL -> IDK: 3

sry.

The original map objects are not deleted in the editor as an example of "roads 5", where buildings are removed, but roads and small objects remain
"Good job" admins.
protection of violators 10 \ 10
Reply
#98
ugh . I believe only English is allowed in there on the forum..
[Image: sig.php?name=roosterking]


The Fidget-Maker Dodgy
Reply
#99
(05-24-2018, 08:50 AM)RoOsTeRKiNg Wrote: ugh . I believe only English is allowed in there on the forum..

yes i know) mistake
"Good job" admins.
protection of violators 10 \ 10
Reply
(05-24-2018, 08:07 AM)RoOsTeRKiNg Wrote: ??
If you are using JerneJL's editor, just click on that object and press delete button..

If you are asking for Pawno -> IDK

If you are asking for RDL's Editor -> IDK :3

sry.

where i can download jerneJL editor?
"Good job" admins.
protection of violators 10 \ 10
Reply
(11 hours ago)Dead_LIFE Wrote:
(05-24-2018, 08:07 AM)RoOsTeRKiNg Wrote: ??
If you are using JerneJL's editor, just click on that object and press delete button..

If you are asking for Pawno -> IDK

If you are asking for RDL's Editor -> IDK :3

sry.

where i can download jerneJL editor?

http://bfy.tw/IJdW
Reply
(8 hours ago)Johnny Wrote:
(11 hours ago)Dead_LIFE Wrote:
(05-24-2018, 08:07 AM)RoOsTeRKiNg Wrote: ??
If you are using JerneJL's editor, just click on that object and press delete button..

If you are asking for Pawno -> IDK

If you are asking for RDL's Editor -> IDK :3

sry.

where i can download jerneJL editor?

http://bfy.tw/IJdW

my search engine can not find this editor, and what it wants is that it does not feel like there is no function to remove the object
"Good job" admins.
protection of violators 10 \ 10
Reply
http://forum.sa-mp.com/showthread.php?t=282801



You can download the editor from here.
I believe it's the same editor that you use.
You just need to click on the object(left mouse button) and press the delete button..
[Image: sig.php?name=roosterking]


The Fidget-Maker Dodgy
Reply
(7 hours ago)RoOsTeRKiNg Wrote: http://forum.sa-mp.com/showthread.php?t=282801



You can download the editor from here.
I believe it's the same editor that you use.
You just need to click on the object(left mouse button) and press the delete button..

I do so but when I press the test the object does not delet
in my editor
"Good job" admins.
protection of violators 10 \ 10
Reply
Hmm...


Okay so, when you select the object and delete it, click on "Show Code".. It should show, that the following object had been removed, that is RemoveBuildingForPlayer..


Lemme know, if you see the message, in showcode..
[Image: sig.php?name=roosterking]


The Fidget-Maker Dodgy
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)