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