Alternative implementation of "wait".
#8

The idea of this concept is to introduce a Wait(ms) function that can be used on the fly, without having to pass any extra arguments or make adjustments to the code. This is a complex operation that can't be implemented in any other means of PAWN code, in this case we use assembly instructions for implementing the final code.

While I agree that the macro would be a nice method, it would entirely break with most things. I've had functions with over 10 arguments once, imagine doing this:

pawn Code:
Wait(10000)<a, "ddddffffff", playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ);
It just doesn't seem convenient to me.
Reply


Messages In This Thread
Alternative implementation of "wait". - by Emmet_ - 02.01.2014, 11:59
Re: Alternative implementation of "wait". - by Patrick - 02.01.2014, 12:07
Re: Alternative implementation of "wait". - by Emmet_ - 02.01.2014, 17:18
Re: Alternative implementation of "wait". - by IPrototypeI - 02.01.2014, 18:08
Re: Alternative implementation of "wait". - by IPrototypeI - 02.01.2014, 19:03
Re: Alternative implementation of "wait". - by Emmet_ - 02.01.2014, 19:11
Re: Alternative implementation of "wait". - by IPrototypeI - 02.01.2014, 19:22
Re: Alternative implementation of "wait". - by Emmet_ - 02.01.2014, 19:38

Forum Jump:


Users browsing this thread: 1 Guest(s)