13.08.2011, 09:24
Hello.
I want to know how to back weapons in DB.
I will not create a field for each slot and each number of munitions.
I thought to do something like weapon1 [ammunition], weapon2 [ammunition]
But is there a function to retrieve data using a regex?
---------------------------------------------------
I'm looking for a host that costs 5 Ђ maximum in the first month and offers 50 to 100 slots ...
---------------------------------------------------
In commands such as / am, how can the message be sent if you enter the id of the person (that already), but if we enter its name or part of its name?
So, to do so: /pm 12 Hi or /pm kiki Hi
---------------------------------------------------
In the same idea, how, in the administrative commands in order to get an id or 'all'?
For example: /life 4 would restore his life to the id 4, but /life all would restore life to all the world.
I do not know how to do it ... I could see if all went with strrest or if id is returned with strval, but I do not see how to do both ...
---------------------------------------------------
Function that returns mysql_ping if the connection to the database was successful?
---------------------------------------------------
How Can I place an order of banishment and temporary jail?
There is Ban (), but it is not temporary ...
There should be the count of hours / days, and I do not see how to do that.
And the jail, I only count as is done when the player is connected ...
Should I play with the timestamp?
---------------------------------------------------
Thank you very much !
I want to know how to back weapons in DB.
I will not create a field for each slot and each number of munitions.
I thought to do something like weapon1 [ammunition], weapon2 [ammunition]
But is there a function to retrieve data using a regex?
---------------------------------------------------
I'm looking for a host that costs 5 Ђ maximum in the first month and offers 50 to 100 slots ...
---------------------------------------------------
In commands such as / am, how can the message be sent if you enter the id of the person (that already), but if we enter its name or part of its name?
So, to do so: /pm 12 Hi or /pm kiki Hi
---------------------------------------------------
In the same idea, how, in the administrative commands in order to get an id or 'all'?
For example: /life 4 would restore his life to the id 4, but /life all would restore life to all the world.
I do not know how to do it ... I could see if all went with strrest or if id is returned with strval, but I do not see how to do both ...
---------------------------------------------------
Function that returns mysql_ping if the connection to the database was successful?
---------------------------------------------------
How Can I place an order of banishment and temporary jail?
There is Ban (), but it is not temporary ...
There should be the count of hours / days, and I do not see how to do that.
And the jail, I only count as is done when the player is connected ...
Should I play with the timestamp?
---------------------------------------------------
Thank you very much !