Search Results
Quote: Originally Posted by ****** So try removing that stuff again and adding it back in slowly until you identify the problem. Or better yet, use the updated compiler, which has fixed m...
105
Hello, I've tried adding some stuff to my code, and now it does not compile- and I have no idea why, I've looked into some of those programs that check for open/closed brackets, and I have a 1:1 ratio...
105
I'm getting these errors: Код: array index out of bounds (variable "Report_Reason") array index out of bounds (variable "Reporter_ID") Variables: PHP код: // Reports new countReport=0; ...
78
Quote: Originally Posted by Calisthenics Remove ! from aDuty. You cannot check if it is 0 using ! and if it is 1 or 2 at the same time. It expects none but finds bool tag. That fixed it...
97
I have no idea why, but I am getting some mismatch warnings on these two lines in my code: PHP код: CMD:admins(playerid, params[]) {     new online, string[128];        if(!IsPla...
97
Try replacing the if line with: Code: if(PlayerInfo[playerid][pBanned] == 1)
158
Quote: Originally Posted by ****** OK, try this version instead: [url]https://github.com/pawn-lang/YSI-Includes/tree/5.x[/url] I just found that Misiur’s version is the top search resu...
180
Quote: Originally Posted by ****** Most of those are because you have a global called "str", somewhere. The last is because you are using a version of foreach about 12 years out of date. ...
180
Quote: Originally Posted by ****** Most of those are because you have a global called "str", somewhere. The last is because you are using a version of foreach about 12 years out of date. ...
180
I've extracted YSI files in my include folder, now I get these errors: D:\BACKUP\racing_samp\pawno\include\YSI\..\YSI_Dat a\..\YSI_Internal\y_compilerdata.inc(287) : warning 219: local variable "str"...
180
Quote: Originally Posted by SyS parmas and params are different(check the argument of cmd Ty mate, that fixed it.
81
So basically that's the code: PHP код: CMD:cargod(playerid, parmas[]) {         new TargetVehicleID;         if(!IsPlayerSuperAdmin(playerid)) return SendClientMessage(playe...
81
Quote: Originally Posted by kvann ^^^ Your macro didn't work since you tried to pass a parameter to it, but it doesn't use any. Replace your macro with this: Код: #define IsPlayerGod...
315
Quote: Originally Posted by nG Inverse If an invalid index is passed to the function it could cause an out-of-bound error, which can lead to incorrect return values or even crashes. So you...
315
Quote: Originally Posted by nG Inverse If an invalid index is passed to the function it could cause an out-of-bound error, which can lead to incorrect return values or even crashes. So you...
315
Quote: Originally Posted by AlfaSufaIndo maybe you can use stock.. don't use public, and you don't have to use CallRemoteFunction if you using stock PHP код: stock IsPlayerGod(Tar...
315
OK, so I have this type of code in my main gamemode: PHP код: new godmode[MAX_PLAYERS]; forward IsPlayerGod(TargetID); public IsPlayerGod(TargetID)return (godmode[TargetID]);  I have ...
315
Quote: Originally Posted by Undef1ned Although it is something simple, it can be done in a better and more optimized way. Anyway, I congratulate you, since it is your first job and it is j...
954
Quote: Originally Posted by willbedie The identation is killed, and sorry to say but it's a pretty useless script. Maybe it's not useful for public servers, but I am using it on my priv...
954
Description So, the thing that this script does is to toggle the players' colours from white to colourful, and from colourful to white. Which would change their visibility on the radar. For who does...
954