Search Results
Considering that you want to do something related to a function, I will try my best to show you an example. pawn Код: FunctionName( playerid, var1 ){    foreach( new i : OnDutyCops ){      Â...
96
This is the most basic kind of anti-cheat one could make. It is in no way an AI because you are just comparing a player's current data to already pre-defined data in the game. An AI, would have to c...
820
The printed string of the textdraw after adding the ~n~'s: Код: info_td_msg1[ 0 ]: ~N~~N~~N~~b~radio info~n~chan: ~g~0~n~~b~slot: ~g~0
157
Quote: Originally Posted by ForCop maybe it's from the speedometer? It doesn't have any connection to the speedometer. I show it or not, the white squares still appear because of the ~n...
157
It didn't work. Look at the photo and you'll see the white squares and you'll know what I'm talking about.
157
Hey, I'm trying to use ~n~ in my textdraw, but apparently, after it is added into the textdraw string, a little malfunction seems to appear (you can see in the photo below). Any ideas? Textdraw cod...
157
Thanks a lot. The problem has been fixed entirely. Thanks to DTV and Arthur. +rep to both of you.
220
@DTV 's fix worked for the animation problem. As for the OnPlayerUpdate fix that you suggested, Arthur, wouldn't the animation replay over and over? I mean, it would look like the player loops through...
220
Hello, I'd like to know what I am doing wrong with my system. Long-story-short I just wanted to create a brutally wounded system, a basic one. So, it goes like this: I set every player to be on the sa...
220
The issue was solved in some dirty way. Let's see the code (for people that have the same problem like me, or similar problems in the future) Creating the variables: (penums.inc) Код: enum timDat...
80
Take a look at this, it may help you somehow. https://sampforum.blast.hk/showthread.php?tid=474196
87
What is the default value for pVip under enum pInfo? Also, did you look for any instance that may change pVip's value?
68
Can you show us how accounts are loaded / created? Also, search for pInfo[playerid][VIP] in your script and see if something sets it to 1 (or true) at any point after registration.
68
That's not how you do it. pawn Код: GetPlayerHealth( playerid, PlayerInfo[playerid][pHealth] ) ;GetPlayerArmour( playerid, PlayerInfo[playerid][pArmour] ) ; That is the correct code and that is ...
81
pawn Код: CMD:clearchat( playerid, params[ ] ){    for( new i = 0; i < 20; i++ ){ // 20 because that's the maximum amount of chat-lines and sending more messages than intended would be useles...
129
Can you mark lines 348 and 349, so we can figure out which line you are talking about?
81
If it is that hard for you to script such an easy system, maybe SA-MP Scripting isn't for you. We aren't here to create systems for you, we are here to help you with your problems. Make sure you unde...
78
Hello, I stumbled over some weird issue while using y_timers. I'm making a system that despawns a player's vehicle after 15 minutes if he doesn't come back on the server, and I thought about making a...
80
Well, by placing a question without any line of code from your other jobs (I get from your question that you want some Arms Dealer job which is related to your Lumberjack and Miner Jobs). And without...
108