Search Results
You could make a function for logging and call it all your admin functions. As for the Command_SetPlayer, if you want to disable ALL the commands for one player, make a loop and toggle all the command...
107
In the end I decided to implement Smarty for template processing. I hope to have a fully functional basic version released soon. It won't have that many features to start with I guess.
933
Quote: Originally Posted by Kaliber There are huge library like YSI... But sure, you can make one with your own syntax...but you should be very good in Pawn to do this. I give you an advi...
933
I've thought using a template engine like Smarty or similar options. Any thoughts on whether to create my own or use one of those already created instead? My thoughts are that if I create one myself ...
933
I know PHP from before, just expanding my knowledge, I guess. Looking into symfony!
933
I haven't integrated any framework yet, but I was looking over ZF for a while. I'm still not sure whether to do it or not, as this project is a huge part of a learning process for me. It might sound ...
933
I'm still just in preliminary stages of developing, but have managed to get the most basic elements into the CMS. As mentioned earlier, static pages has been integrated, as well as dynamic pages. At ...
933
If you wish to create static pages, there will also be support for that. I haven't read up that much on the zlib license, but I will definitely check it out.
933
Introduction I've decided to start working on a content management system for SA:MP as a way to further expand my knowledge with PHP. I've thought about this for quite a while now and have a pretty g...
933
Quote: Originally Posted by ****** Just a note: Telling people about "tabsize 0" is literally banned in the forum rules it is that bad! Agreed!
358
I'm currently developing a roleplay gamemode. I need a few testers to help me out and hit me with a few suggestions for what can be changed and what can be added. It's not nearly done, so don't expec...
202,751
I don't think there is a way to set vehicle ID's. What you could do though is to create a vehicle even if the file isn't there and delete them when the loop has finished. I don't recommend doing that...
313
Having the motivation to keep on going for the long haul. I usually script in periods. Sometimes I script for a few weeks, and it can take months before I start again.
756
Take a look at this. https://sampwiki.blast.hk/wiki/Strins PHP код: new String[15]; strins(String, "Knappen\n", 0); print(String);  Create a loop and go through your admins and show a...
129
From the looks of it, I would say MySQL R5 or R6. mysql_query is gone in later versions if I'm not mistaken. Everything is threaded in newer versions.
116
This would be fairly easy with sscanf and y_commands or ZCMD. PHP Code: CMD:id(playerid, params[]) {     // Creating the variables we will need     new String[128], Target, Targ...
259
Quote: Originally Posted by maddinat0r don't edit the plugin include! take a look at this tutorial; 'orm_insert_inline' works just like that pawn Code: inline SetAccountID(){    Acc...
95,807
One way to do it is to store the IP of the player, when he enters his password for the first time. If he then logs in from the same IP again, you can skip the password.
93
Quote: Originally Posted by maddinat0r It was commented out on purpose (for Pawno's function list feature). The syntax is Code: orm_insert_inline(ORM:ormid, callback, const format_string[...
95,807
I'm not quite sure what you are trying to achieve. Are you trying to loop through an array or the enumerator itself? If you want to loop through an array with 9 cells, just do pawn Код: for(new...
170