Search Results
I guess you need to remove this. PHP код: iTime = (iTime * 60);  PHP код: COMMAND:ojail(playerid, params[])  {      if(!PlayerInfo[playerid][power]) return SendClientE...
67
Gotta use AccountExist instead of !AccountExist PHP код: COMMAND:ojail(playerid, params[]) {     if(!PlayerInfo[playerid][power]) return SendClientError(playerid, CANT_USE_CMD);  ...
67
show your AccountExist function?
67
do it like this: PHP код: if(GetPlayerState(playerid) == PLAYER_STATE_WASTED) return SendClientError(playerid, "You cannot use this command while dead"); 
45
You're passing integer parameter to sscanf and expecting a string... PHP код: COMMAND:ojail(playerid, params[]) {     if(!PlayerInfo[playerid][power]) return SendClientError(playerid,...
67
One question, do you disbale class selection when player joins using toggleplayerspectating?
105
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;    ...
35
First parameter is connection handler. PHP Code: mysql_format(g_SQL, query,sizeof(query),...); 
44
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...
44
Seems like you're not loading the salt... PHP Code: forward OnPlayerDataCheck(playerid, corrupt_check); public OnPlayerDataCheck(playerid, corrupt_check) {     if (corrupt_check != C...
31
To be able to use %e to escape you gotta use mysql_format not normal format.
44
https://github.com/pawn-lang/compiler/releases
34
Simply add a check before doing the 3dtext label update process. PHP код: if(GetVehicleModel(playerVehicle[i]) > 0) {     new Float:health;     GetVehicleHealth(GetPlayerVehicleID...
40
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...
32
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"...
47
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 к...
31
Show the codes under OnPlayerRequestClass callback?
50
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...
50
PHP код: fdeleteline(filename[], removed[]) {     new string[64], str[32], File:handle, File:ftmp;     handle = fopen(filename,io_read);     format(str,sizeof(str),"%s.part",...
50
https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer
26