Search Results
Problem is mate you've put the 'no admin' handler inside the loop - example, when the loop starts from player 0 if he isn't administrator it terminates because of the return. Always let the loop finis...
174
PHP код: dcmd_ccolor(playerid, params[]) {     new colord;     if(sscanf(params, "i", colord))          return SendClientMessage(playerid,COLOR_ERROR,"USAGE : /Ccolor (...
123
pawn Код: SendClientMessage(playerid, PlayerInfo[playerid][ChatColor], "Insert text here");
123
Try this: pawn Код: CMD:oban(playerid, params[]) // Banning offline players {   if(connected[playerid] == true) return GameTextForPlayer(playerid, "~r~Spawn First", 5000, 5);   if(pInfo[playeri...
84
Have you made sure that the connection handler has the prefix 'MySQL:' so Код: new MySQL:zMySQL;
221
PHP код: forward OnCheckTagType(TagName[]); stock MySQLCheckTag( TagName[] ) {     new iQuery[128];     mysql_format(iQuery, sizeof(iQuery), "SELECT `ID` FROM `Clans` WHERE...
141
Sorry, I've fixed it forgot to add dialogid in the response line! Stupid mistake.
65
I have this function, when I try to register it doesn't insert.... in to the database. PHP код: stock Construct_PlayerConnected(playerid) {     inline OnCheckPlayerAccount() {     ...
65
Try this: PHP код: CMD:jetpack(playerid, params[]) {     if(PlayerInfo[playerid][pAdmin] < 1) return SCM(playerid, -1, "error!");     if(GetTickCount() - GetPVarInt(playeri...
144
Hi, I've implemented a new function in to my code today. When I join IG and show the dialog that uses the function it keeps printing that it's using too much memory... or I've ran out? Can someone tel...
120
It's not showing the last character of the command, is this known or...? PHP код: public OnPlayerCommandPerformed(playerid, cmdtext[], success) {     if(!success) return SendClientMes...
67
Try this: PHP код: TennIdCreated() {     new smallid = 20; // 20 vehicles created     for(new vid = 1; vid < sizeof(CreatedCarsOn); vid++) // there is no vehicleÂ...
59
PHP код: if(strcmp(cmd, "/dropcar", true) == 0){    if(IsPlayerConnected(playerid))    {        if(PlayerOnMission[playerid] > 0) return SendClientMessage(playerid, ...
61
I've seen a lot of people have had problems with this, and some have lost there map. I've done a small check around the forums and seen that nobody has posted anything to fix this 'bug'? I thought why...
291
So, I've had this problem for about 4 - 5 days now and it's really really irritating me. I'm currently using BlueG's MySQL R39-3. Anyway the problem is that when I store the house and slotID inside t...
99
Yes, am using BlueGs version too. It works fine with me, try replacing the MySQL files with the latest version.
162
PHP код:     if(APlayerData[playerid][LoggedIn] == true)      {          PlayerFile_Save(playerid);          AntiBoutiqueBug_OFF(playerid);      }  Remov...
90
PHP код: forward OnLoadFactionVehicles(); stock LoadFactionVehicles() {     mysql_function_query(MySQL, "SELECT * FROM `vehicledata`", true, "OnLoadFactionVehicles", "");     ...
162
Post here: https://sampforum.blast.hk/showthread.php?tid=447813
83