[Tutorial] How to make multiple moveable gates.
#6

Quote:
Originally Posted by Jonny5
View Post
you can always edit this one!

and why not use pawn tags?

you should also show how to open each gate with a different command,
and maybe offer a command processor example.

What you dont cover also is how to get the cords for the gates..
And without that part this tutorial is useless.
Edited it.
Is i said you must already have mapped the gates .....

Quote:
Originally Posted by Vukilore
View Post
pawn Code:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/open"))
     {
     MoveDynamicObject(gate[0], 1496.59997559,-699.75000000,86.80000305, 1);
     MoveDynamicObject(gate[1], 1484.59997559,-699.75000000,86.80000305, 1);
     return 1;
     }

 {
     MoveDynamicObject(agate[0], 1496.59997559,-699.75000000,93.40000153, 1);
     MoveDynamicObject(agate[1], 1484.59997559,-699.75000000,93.40000153, 1);
     return 1;
     }
    return 0;
}
You didn't forget something ?
Edited thank you.
Reply


Messages In This Thread
How to make multiple moveable gates. - by Rg-Gaming.Info - 23.05.2012, 14:11
Re: How to make multiple moveable gates. - by Infinity90 - 23.05.2012, 14:37
Re: How to make multiple moveable gates. - by Rg-Gaming.Info - 23.05.2012, 15:11
Re: How to make multiple moveable gates. - by Jonny5 - 23.05.2012, 15:59
Re : How to make multiple moveable gates. - by Vukilore - 23.05.2012, 16:32
Re: Re : How to make multiple moveable gates. - by Rg-Gaming.Info - 23.05.2012, 16:55
Re: How to make multiple moveable gates. - by necrobg3 - 23.05.2012, 17:05
Re: How to make multiple moveable gates. - by kalata981 - 23.05.2012, 17:10
Re: How to make multiple moveable gates. - by Rg-Gaming.Info - 23.05.2012, 17:54
Re: How to make multiple moveable gates. - by Mimic - 18.06.2012, 12:37

Forum Jump:


Users browsing this thread: 3 Guest(s)