Quote:
Originally Posted by Jonny5
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
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.