Gates.
#1

I was wondering since i dont know about scripting if you can make a moving gate like you have the cords but you change the cords to make it move left and right like below.
VVVV

Code:
Quote:

public OnGameModeInit()
{
SetGameModeText("Blank Script");
AddPlayerClass(0, 1289.63, -1716.29, 22.19, 0, 0, 0, 0, 0, 0);
CreateObject(2949, 1297.51, -1715.94, 12.00, 0.00, 0.00, 0.00);
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/test", cmdtext, true, 10) == 0)
{
SetObjectPos(2949, 1297.5087, -1714.9415, 12.0000);
return 1;
}
return 0;
}

Reply
#2

Yes you can. By using default function of SA:MP (CreateDynamicObject) or others such as the streamer plugin (MoveDynamicObject). Read these tutorials, they'll help you http://forum.sa-mp.com/showthread.ph...t=moving+gates http://forum.sa-mp.com/showthread.ph...t=moving+gates
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)