/settime command - 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: /settime command (
/showthread.php?tid=66197)
Re: /settime command -
Andom - 03.07.2009
Quote:
Originally Posted by • — 'L!ttl3j0hNy' — •
Quote:
Originally Posted by Donny
No dude they are different, one is fast and uses less processing power and one is slow and uses too much.
|
BUT, the command is the same
- LJ
|
So what!? you don't care if your server is fast or what? so you want to lag and over-use your processor if having mutch players?
Anyways, i wanted to go ontopic now but i see your problem if fixed

have a nice day!
Re: /settime command -
[SFD]Marco - 03.07.2009
help
C:\Documents and Settings\Marco\Desktop\samp02Xserver.win322\gamemo des\swatvsterrorists.pwn(186) : error 017: undefined symbol "dcmd"
Re: /settime command -
refshal - 03.07.2009
pawn Код:
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Re: /settime command -
[SFD]Marco - 03.07.2009
C:\Documents and Settings\Marco\Desktop\samp02Xserver.win322\gamemo des\swatvsterrorists.pwn(399) : error 017: undefined symbol "SendAllEMessage"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
399 = SendAllEMessage(string);
Re: /settime command -
refshal - 03.07.2009
Change
to
Re: /settime command -
[SFD]Marco - 03.07.2009
error 035
C:\Documents and Settings\Marco\Desktop\samp02Xserver.win322\gamemo des\swatvsterrorists.pwn(399) : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: /settime command -
refshal - 03.07.2009
What did you wrote? Show me the line...
Re: /settime command -
[SFD]Marco - 03.07.2009
SendClientMessageToAll(string);
Re: /settime command -
refshal - 03.07.2009
pawn Код:
SendClientMessageToAll(0xFFFFFFAA,string);
Re: /settime command -
[SFD]Marco - 03.07.2009
Thank
Re: /settime command -
@TheShadow@ - 03.07.2009
you should close the topic if your problem is solved^^
Re: /settime command -
refshal - 03.07.2009
Quote:
Originally Posted by @TheShadow@
you should close the topic if your problem is solved^^
|
He can't. Only Admins can. Unfortunately.
Re: /settime command -
Jason_Borne420 - 19.10.2009
Quote:
Originally Posted by Blacklite
Quote:
Originally Posted by Jason_Borne420
Quote:
Originally Posted by Donny
Quote:
Originally Posted by ★ ♫ • Littlejohny • ♫ ★
Quote:
Originally Posted by Donny
As you can see dude there's not a hint of strtok in there and it will function exactly the same but with better speed and efficiency.
|
Hmm but the Endproduct is the same
- LJ
|
No dude they are different, one is fast and uses less processing power and one is slow and uses too much.
|
LOL i have 1000 commands on my script using strcmp and it shows no lagg... dont listen to this superficial scritor he is probably
old school
|
strcmp is different to strtok. Anyway, if you are using strcmp + strtok, you obviously don't have a particularly popular server, because on a large scale, this sort of thing adds up and makes a difference.
I'm not trying to ruin this thread, but if you're going to do it, you might as well do it properly.
|
Umm... if your using strtok then obviously your going to use strcmp. I happen to know you use both and you have alot of players on your server. But if you have a weak host (if not hosted at serverFFS)- That can be your lag - otherwise it will not cause ANY noticeable lag. Hands down.
Besides, he didnt care about that, he just wanted it to work.
Re: /settime command -
homijs - 12.09.2010
Quote:
Originally Posted by refshal
He can't. Only Admins can. Unfortunately.
|
Thanks for helping put here
I really apprishiate that
Respuesta: /settime command -
Alex_Obando - 03.04.2011
How to make it in zcmd?