22.08.2013, 21:55 
	
	
	
		great
	
	
	
	
Loading plugin : CTime Failed
| 
 I have a problem with the plugin. 
Код: 
Loading plugin : CTime Failed I am using windows.  | 
| 
 Freshly compiled on Windows. This one runs successfully - http://www.solidfiles.com/d/c57af24e0f/ 
 | 

	WaitEx(playerid,seconds);
| 
 That's not really relevant to this plugin. It's for formatting timestamp data into human-readable strings. 
However, you can do what you described by returning 0 on OnPlayerConnect, it will stop their client interaction with the server as long as OPU is returning 0 (the equivalent of being paused really) I've only found one use for the Wait function, and that is a small delay between connecting or spawning multiple NPCs with one of the plugins.  | 
| 
 You can't make a specific player wait to execute code as you can't run code for specific players, everything runs on one thread one thing after another. If that thread is paused (with a wait() function for example) the entire server will stop. 
Check out this thread for more info: https://sampforum.blast.hk/showthread.php?tid=257660 If you want an easier way to write timer code, check out y_timers. That library decreases the amount of writing you need to do for deferred or repeated functions.  | 
	[21:36:49] Server Plugins [21:36:49] -------------- [21:36:49] Loading plugin: CTime [21:36:49] Failed.
Segmentation fault
| 
 I get this: 
Код: 
[21:36:49] Server Plugins [21:36:49] -------------- [21:36:49] Loading plugin: CTime [21:36:49] Failed. Already tried with the files provided above, but no luck. Any help?  | 
| 
 Yes, unix timestamps "just work" thanks to lots of very clever people and lots of hard work, it's kind of like magic. 
 | 
econd. Similar function exist in PHP, it's date, eg. echo date('m/d/Y', 1299446702);