Search Results
1/10/100 * pBankCash returns a rounded integer value 1/10/100 is 0.001, but returns as 0, so 0 * pBankCash = 0. Try using this for the code: Код: format(s, sizeof(s), "Interest gained: 0.1 | Gai...
165
Код: if(admlvl < 1) have you no experience with less than / greater than if statements? this if statement checks if players admin level is less than 1, which means they're not admin.
119
The server I script for, which is Linux, will timeout on connections to IRC. My windows computer will connect fine with no issues, but the linux server will not connect and will timeout every attempt....
20,546
Make sure both name variables have a name stored in it and are not empty.
282
Above the line with public OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid) Put forward OnPlayerGiveDamage(playerid, damagedid, Float:amount, weaponid);
142
This is a similiar way I use to get closest co-ords to a player. pawn Код: stock ClosestTruckLoad(playerid){    new closest = -1, Float:dist=9999999;    for(new i; i < sizeof(TruckLocations...
190
Ahh, derp, didn't realise you said put //', Cessil. Done that and it fixes all the grey but still, how do I fix this. And yea, Andre, I know that but I made that when I didn't know of it :P
224
Ehh, the script was fine on my old laptop. But anyway, I'll give that a go. "//" after the if statement? Still grey, and I'll let you know that the script compiles fine.
224
I've reloaded it multiple times yet no avail. And what is wrong with the if statement?
224
I recently got a new computer, installed notepadd++ and got it working with .pwn/.inc files after following Slice's tutorial, but I seem to have a problem with the escaped characters which seem to mak...
224
OnGameModeInit: SetTimer("CheckServerWeapons", 1000, true); Remove "CheckServerWeapons(playerid);" from OnPlayerUpdate. And change the CheckServerWeapons(playerid) to CheckServerWeapons(), then repl...
142
MAX_LENGTH? Could be an issue with the space, though I ain't sure and can't test atm.
76
Show code where you enter the house.
92
warning is on line 90390, not 208.
145
I join a server I regularly play on, which I was on yesterday, but today I connected and it has the "Connected. Joining the game..." message, but does not connect. Ideas?
145
pawn Код: if(PlayerInfo[playerid][pAdmin] >= 5 || IsPlayerAdmin(playerid)) IsPlayerAdmin is the RCON admin, while [pAdmin] is your scripted admin level.
98
Quote: and i dont want it showing a url stream msg You can't remove that message from sending to players, only the client themself can remove it (/audiomsg).
68