Search Results
Use strcmp(): https://sampwiki.blast.hk/wiki/Strcmp
13
You don't need else there. This should work just fine. PHP код: CMD:gotols(playerid, params[]) {     if(PlayerInfo[playerid][pAdmin] < 2) return SendClientMessage(playerid, COL...
11
Yes. That will happen as what your code does is that if the houseid is not found, It will break the loop. For example, if houseid 0 doesn't exists and 1 exists, It will stop the loop at 0. Try this ...
15
Quote: Originally Posted by HeroDR22 Error in this. pawn Код: error 001: expected token: ";", but found "[" pawn Код: new job = pInfo[targetid][pJob][1]; That is a multi-dimen...
10
Quote: Originally Posted by Dirda Then what should I do? Create 3 variables. Get the distance from the three airports. Then compare which the lowest and then Set Checkpoint. Use 3 if st...
14
Quote: Originally Posted by TechSil Not really Okay, So I made a little error in the previous code. I misread your help. Add this on top of your script. PHP код: #define PRESS...
11
You'll find your fix here. https://sampforum.blast.hk/showthread.php?tid=654036 Also, Try using debug level 3, so it shows you the exact lines that produce the crash. If you don't know how to do tha...
11
Can you show your load code under OnPlayerConnect? Are the files saving properly?
15
Quote: Originally Posted by TechSil I didnt understand you at all Do you know anything about scripting?
11
SQL injection has nothing to do with Dialog. After processing in Dialog:whatever part, Before inserting into the DB, You have implement measure against SQL injection.
13
This is how you do it. Under the command called /enter, Check if the player is near a bank. You can do this by using the function IsPlayerInRangeOfPoint();. The X, Y, Z coord of the function corresp...
11
It should be like this: PHP код: if(!IsPlayerAdmin(playerid) || pInfo[playerid][Admin] != 6) return SendClientMessage(playerid, 0xFFFFFFFF, "[HPRP]: You don't have enough permissio...
11
You had an extra i at the end. Replace that line with this. PHP код: format(StringSECH,sizeof(StringSECH),"{FFFAFA}Vehicle:{00FF00} %s | {FFFAFA}Owner:{00FF00} %s\n",VehicleName[GetVehicle...
12
Quote: Originally Posted by Chanty420 Now i should remove it from the script or what? Just add the below code under OnGameModeInit(); PHP код: UsePlayerPedAnims(); 
14
Quote: Originally Posted by ByHasan good work Thank You! Quote: Originally Posted by Castiel17 nice bro but /vpark don't work for me Can you check once again? It was wo...
233
You can only BUMP your post after 24 hours. Please be patient as something called timezones interfere with frequent helping. I don't know if this will fix your problem, But try putting the whirlpool ...
11
I won't advise you to do that. Because that will mess up the script, as it will interfere with the way that the script works. Unless You wan't to re-script the thing, I may have a solution. And that i...
11
Look for the part in the code that processes the Player dying/evacing part. There you are likely to see the saving part. You just remove that. That's all. We can only do soo little without you not gi...
11
Quote: Originally Posted by SeanDenZYR i mean how to unhash? The main point of hashing password is not to be able to unhash it
15
Try using debug level 3, so it shows you the exact lines that produce the crash. If you don't know how to do that, here's how: You should create a file called pawn.cfg in your pawno folder, inside thi...
22