Search Results
Put this on top of your code and compile again, when it crashes show us the logs then. On top of your code, even above the first line of your gamemode. pawn Code: #pragma option -d3 Don't worry abo...
826
So you are resetting the player variables: pawn Code: static const empty_player[E_PLAYERS];Player[playerid] = empty_player; then setting the player's health to the reset variable under OnPlayerRegis...
425
First of all, you are using the wrong function. If you want to fetch a field using the column name, you have to use the function cache_get_value_name_int. Second, you need to save the said field into ...
669
pawn Code: format(string, sizeof(string), "%s", dice[randomMSG]); Also, next time post your code rather than taking a screenshot.
554
pawn Код: if(victimid == INVALID_PLAYER_ID || victimid < 0)  return 1; This should cover both.
371
Quote: Originally Posted by Daynox12 PHP код: stock Float:GetDistanceBetweenPoints(Float:rx1,Float:ry1,Float:rz1,Float:rx2,Float:ry2,Float:rz2) {     return floatadd(floatadd(...
371
Quote: Originally Posted by iSpark There should be a ! before strcmp. strcmp returns value 0 if the strings match. That part of the code is right though.. he is still checking if it ret...
116
From the data you have provided, I am guessing victimid is out of bounds, i.e, < 0 or > MAX_PLAYERS, assuming the User array is sized MAX_PLAYERS. Will have to see the GetClosestPlayer function ...
371
Start with tracing back what you did before the last time the gamemode compiled properly and then commenting out any chunks of code that you added after that and recompile. Once the script recompiles ...
175
I did do some testing with this guy and the problem with his script was with the bodypart parameter. Instead of calling the actual bodypart being hit, the script always called the code with bodypart a...
139
pawn Код: public OnPlayerTakeDamage(playerid, issuerid, Float:amount, weaponid, bodypart){    if(issuerid != INVALID_PLAYER_ID) // Check if the player taking the damage didn't just take damage f...
139
Quote: Originally Posted by RxErT Ping Kicker Information: This snippet is all about kicking player, whose having high ping and lagging hard. -script is editable. Code: PHP код: ...
40,371
are you sure your gamemode is actually named Gamemode?
314
WARNING: Spoilers. Quote: Originally Posted by Andre02 WWE messed up this year, starting with Reigns vs Taker. Taker could have had such an amazing match with John Cena, a match people ar...
282
If you don't know what you want to script, it's better not to script at all. You'll get good suggestions but in the end if you don't what you're after our what you actually want, you'll start losing m...
232
Quote: Originally Posted by Cookland I might have a high post count and some decent rep, but I'm dumb as fuck and very honest.
142
And while at it... Textdraw rotation functions would be nice too..
200
Show us all your includes, mostly on the top of the gamemode. Also make sure you have the following in your code: pawn Код: main() { } Make sure it isn't there already/
240
Quote: Originally Posted by Rudy_ Oh, that could be the problem if (strcmp(GroupInfo[9][gLeader], sendername(playerid)) == 0) I tried it like this before pawn Код: if (strcmp(GroupInf...
128
Are you sure you are going for faction ID 9 and that both names match? Try printing both strings (leader name, player name) and see if they match. Edit: Didn't see the above post, he has posted while...
128