Need help which move object which time and money - 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: Need help which move object which time and money (
/showthread.php?tid=189556)
Need help which move object which time and money -
doreto - 12.11.2010
I need help how to make move object which time and money pls help me
Re: Need help which move object which time and money -
HrvojeCro - 12.11.2010
Explane what do you want, how do you mean move object with time and money, do you want automatic gates and when u open them u pay xy$?
Re: Need help which move object which time and money -
doreto - 12.11.2010
i meen the gate will open after 1,2,3,4,5, min and pay and after 5-10 min move back and play again
Re: Need help which move object which time and money -
doreto - 12.11.2010
do you understand me ?
Re: Need help which move object which time and money -
Rafa - 12.11.2010
pawn Код:
if(strcmp(cmdtext, "/open", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, range, x, y, z)) return SendClientMessage(playerid,RED,"You are not near the gate." );
{
MoveObject(gate, X, Y, Z, SPEED);
SetTimer("CloseGate",5000,false);// here is the closing gate she will close in 5 sec u can change that and set it to what u want u can change and that "false" and make it in "true" if u want to repeat the opening and closing of the gate.
return 1;
}
and u need to make the callbacks:
pawn Код:
public CloseGate()
{
MoveObject(playerid, x, y, z, SPEED);
return 1;
}
when u will finish with this add at the top of ur script
Good luck...
Re: Need help which move object which time and money -
doreto - 12.11.2010
i will try now