| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 350 online users. » 0 Member(s) | 347 Guest(s) Bing, Yandex, Google
|
|
|
| Help with Custom Weapon Names |
|
Posted by: RoBy41 - 2020-10-23, 02:08 PM - Forum: Pawn Scripting
- Replies (5)
|
 |
Lately I noticed that Roleplay servers scripts allow weapons with the same ID (for example, a Deagle) to be stored in a player's inventory under different names. For example, if a player (from Grove Street Families)?has a Deagle on him, if he does /inventory (hypothetically), instead of Deagle, the weapon's name is ''Glock''. Also, let's say there is another player (from Ballas) that has a Deagle on him. But in this case, the weapon's name?(Deagle) can be another weapon name other than Glock (that the first player has), for example, when the second player does /inventory, the name of the Deagle is ''Beretta''.
How can you do that?
|
|
|
|
| Scriptfiles created with fopen(File: file, io_append), gets deleted |
|
Posted by: Mergevos - 2020-10-22, 09:40 PM - Forum: Pawn Scripting
- No Replies
|
 |
As the title says, files created with io_append gets deleted everytime server (re)starts?up again.?
Code is this function:?https://github.com/Mergevos/samp-logging/blob/master/logging.inc#L182
File gets created, and all of the content is written into, but when server starts again, it gets deleted.
|
|
|
|
| PlayAudioStreamForPlayer Not Working |
|
Posted by: Grate Maharlika - 2020-10-22, 09:14 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
Why PlayAudioStreamForPlayer is not working on me (im using horizon roleplay script (y_ini) is there anything i should add? What PlayAudioStreamForPlayer plugins or requirements to make it run? It actually works ingame but when it plays now after 2-4 seconds it will stop and if i play again it wont work *(im not using youtube link)
|
|
|
|
| IP verification / Allow |
|
Posted by: 3kisde - 2020-10-22, 07:05 AM - Forum: Programming
- Replies (1)
|
 |
Hello brothers, i want to try to make an ip verification, but i dont know how to send an command like sudo from php, i want to get the ip of the website visitor and send an iptables/ufw or other command allowing his ip, any suggestions/ideas/help? im very newbie in php and ubuntu? :(
|
|
|
|
|