SA-MP Forums Archive
Zcmd - Strcmp Help - 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)
+--- Thread: Zcmd - Strcmp Help (/showthread.php?tid=357517)



Zcmd - Strcmp Help - michale - 07.07.2012

Hello. First of all I am sorry because I am really bigot I don't use zcmd or another new things. I am still using strcmp and I am trying to adapt something to my server from Zcmd. Can you help me about converting this Zcmd to Strcmp? Thank you.

Код:
Timer:TSKUpdate[5000]()
{
	foreach(Player, i)
	{
	    if(GetPVarType(i, "TSK"))
	    {
	        if(GetPVarInt(i, "TSKAttempt") != 0)
			{
I just don't know how to convert '' Timer '' thing to Strcmp. How? If you help me, I can give you +rep =)


Re: Zcmd - Strcmp Help - coole210 - 07.07.2012

That isn't a command, and why would you want to convert ZCMD into STRCMP? ZCMD is a lot faster, and MUCH more efficient, especially when combined with sscanf.


Re: Zcmd - Strcmp Help - zombieking - 07.07.2012

Quote:
Originally Posted by coole210
Посмотреть сообщение
That isn't a command, and why would you want to convert ZCMD into STRCMP? ZCMD is a lot faster, and MUCH more efficient, especially when combined with sscanf.
Exactly , and that is y_timers timer if I'm not wrong...


Re: Zcmd - Strcmp Help - michale - 07.07.2012

Quote:
Originally Posted by zombieking
Посмотреть сообщение
Exactly , and that is y_timers timer if I'm not wrong...
Quote:
Originally Posted by coole210
Посмотреть сообщение
That isn't a command, and why would you want to convert ZCMD into STRCMP? ZCMD is a lot faster, and MUCH more efficient, especially when combined with sscanf.
So, how can I convert this y_timer to strcmp? can you help me please?