Search Results
Quote: Originally Posted by Vince Check if issuerid is valid BEFORE using it as an array index. Players can also take damage from falling and other "natural" sources. So i can simply ad...
68
PHP код: [21:36:30] [debug] Run time error 4: "Array index out of bounds" [21:36:30] [debug]  Accessing element at index 65535 past array upper bound 999 [21:36:30] [debu...
68
Quote: Originally Posted by Filbert I made this command > PHP код: CMD:osetlevel(playerid,params[]) {             if(IsPlayerAdmin(playerid))             ...
82
https://www.youtube.com/watch?v=2Z4m4lnjxkY Trolololol trololo trolololllll
132
Quote: Originally Posted by Vince This entire piece of code is so confusing and repetitive. The player that executes the command is always connected (duh) so that check is completely redun...
117
_Updated the post Ok, understood what you do with the player check but i think you can skip the check to know if who is using the command is connected..
117
Quote: Originally Posted by MayaEU Why is this command making my game freeze? pawn Код: if (strcmp(cmd, "/checkcars", true) == 0)    {        if(IsPlayerConnected(playerid))  Â...
117
Quote: Originally Posted by SickAttack How do you save those values? i have 2 vars, "Kill" and "Death" PHP код: public OnPlayerDeath(playerid, killerid, reason) {     Sen...
132
Quote: Originally Posted by SickAttack You must save those values and display them accordingly. i save the values but i don't know how to show them... as i said in the first post i need...
132
But is only one counter, i need the death counter and the kill counter..
132
Hello everyone, i can't find using the search function a little code to show the players deaths and kills in the player list (alt button) or another way to show the counters.. Can someone help me pl...
132
Is just an idea now.. I need a lot of code to reach this point.. Let's see when i do it
81
Hi all! The timers, use more CPU or more RAM? I imagine CPU.. So.. If i would run a cycle like the following (is an example written now): Код: DoCheck(playerid) { new Float:x, Float:y, Flo...
81
67k lines does not mean lag...... 67k lines of shit maybe but only if there is something calling "50 functions" in the same time... 67k lines can be equal to "a lot of functions" or "a code like a sh...
299
Quote: Originally Posted by Ax3l123 Thank you for the playerid+1 ideea , that's something i have't thought . No problem dude, happy to help
134
Quote: Originally Posted by Ax3l123 Well i'm thinking of creating a dialog where the player can choose a car to test but i would like to create that in diferent virtual worlds. for exemple...
134
Quote: Originally Posted by PrO.GameR If you really want to turn that into a foreach loop you have to change your code structure, potentially some of those arrays (as foreach will kinda do...
290
Quote: Originally Posted by Nin9r You can use a timer which is verifying if that player is in a range of a point. Then, you are using the rob variable. For example: Код HTML: new Ro...
149
Quote: Originally Posted by Nin9r So what? Use a count. new count; count++. if(count > value) { execute loop } Sorry but i don't understand why..
290