Search Results
I guess you need to remove this.
PHP код:
iTime = (iTime * 60);Â
PHP код:
COMMAND:ojail(playerid, params[])Â
{Â
    if(!PlayerInfo[playerid][power]) return SendClientE...
296
Gotta use AccountExist instead of !AccountExist
PHP код:
COMMAND:ojail(playerid, params[]) {     if(!PlayerInfo[playerid][power]) return SendClientError(playerid, CANT_USE_CMD);  Â...
296
do it like this:
PHP код:
if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientError(playerid, "You cannot use this command while dead");Â
215
You're passing integer parameter to sscanf and expecting a string...
PHP код:
COMMAND:ojail(playerid, params[]) {     if(!PlayerInfo[playerid][power]) return SendClientError(playerid,...
296
One question, do you disbale class selection when player joins using toggleplayerspectating?
388
You have to check if killer id is valid [ not self kill ] then do actions on killerid..
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
    taser[playerid] = false;
   ...
125
First parameter is connection handler.
PHP Code:
mysql_format(g_SQL, query,sizeof(query),...);Â
227
Quote:
Originally Posted by KinderClans
Ok and what about score/money?
They are part of that query as it failing due to %e so none being updated. Use mysql_format and all should be fixe...
227
Seems like you're not loading the salt...
PHP Code:
forward OnPlayerDataCheck(playerid, corrupt_check); public OnPlayerDataCheck(playerid, corrupt_check) {     if (corrupt_check != C...
130
To be able to use %e to escape you gotta use mysql_format not normal format.
227
https://github.com/pawn-lang/compiler/releases
205
Simply add a check before doing the 3dtext label update process.
PHP код:
if(GetVehicleModel(playerVehicle[i])Â >Â 0)
{
    new Float:health;
    GetVehicleHealth(GetPlayerVehicleID...
192
assign Cancelhit to -1 by default.
and assign it to targetid when /hit used. ex Cancelhit[playerid] = targetid;
then later
so
PHP код:
CMD:chit(playerid, params[])Â
{Â
    new ID,string...
101
Just wrote a simple function see if it fit your need : p
PHP код:
public OnFilterScriptInit()
{
    new str[] = { 'M', 1000000, 'K', 1000 };
    new value = GetValue("126MK"...
259
Quote:
Originally Posted by severance
Sure I will, I just don't understand why would I need using arrays and how I am overwriting the variable if it's only shown when he's afk.
PHP к...
142
Show the codes under
OnPlayerRequestClass callback?
295
Quote:
Originally Posted by Jefff
or change
pawn Код:
if(strfind(string,removed) == -1)
to
pawn Код:
if(strfind(string,removed) != 0)orif(strfind(string,removed))
Remvoing sk...
309
PHP код:
fdeleteline(filename[], removed[])
{
    new string[64], str[32], File:handle, File:ftmp;
    handle = fopen(filename,io_read);
    format(str,sizeof(str),"%s.part",...
309
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
97