Search Results
Quote:
Originally Posted by Compiler
If it doesnt work. Then add a include zcmd.
oh yeah try that. (Y)
61
pawn Код:
new id = VehicleInfo[GetPlayerVehicleID(playerid)][vOwned]Attach3DTextLabelToVehicle(vehicle3Dtext[keyid], keyid, 0.0, 0.0, 2.0); // why vehicle3Dtext[keyid]??
try to
pawn Код:
Att...
115
try to change the order of filterscripts in your server.cfg file.
61
Quote:
Originally Posted by iggy1
That's not even valid code.
OP, problem might be that when you kill yourself - killerid will probably be INVALID_PLAYER_ID (as far as i can remember). So...
151
Okey i have this strange issue with this function, i show my code:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
SetPlayerScore(pl...
151
pawn Код:
new stats[128]; format(stats,sizeof(stats), "UPDATE ServerStats SET TotalAccounts = TotalAccounts + 1"); mysql_query(stats);
https://sampwiki.blast.hk/wiki/MySQL/R33...
150
give me a second i will help you..
Have you see the page of the function, i think that you have forgot some parameter:
URL
244
It can to be solved, i have solved it with a little fix:
pawn Код:
new fixDoubleVehicles;public OnGameModeInit(){ fixDoubleVehicles = 0;}public OnPlayerConnect(playerid){ fixDoubleVehicl...
86
isn't a source issue but anyway i will show you..
pawn Код:
public OnGameModeInit(){ AddStaticVehicleEx(470,126.7000000,1937.3000000,19.4000000,0.0000000,95,10,15); //Patriot Add...
86
Hay,
I do not want bore you, but i have this problem: when the gamemode is initialized the vehicles are 16 but when i spawn
their will become 32, and spawn one above the other, why?! I have looking ...
86
Quote:
Originally Posted by Pottus
Because you need to do this in your loop.
pawn Код:
if(pinfo[playerid][houses][i] == -1) continue;
Azz... You are so right, thanks for your help...
224
Quote:
Originally Posted by Pottus
The likely explanation if that code is running is some kind of OOB error on your array this is a very common problem and usually very easy to fix make su...
224
Nobody can help me?
224
Quote:
Originally Posted by zT KiNgKoNg
By any chance do all your other commands work excluding these two you have provided for us to help you with?
Note: It may be caused by the loops in...
224
Quote:
Originally Posted by Ox1gEN
Sometimes OnPlayerCommandText and zcmd encounter eachother, make sure you deleted the OnPlayerCommandText call-back, that should do.
I have already de...
224
Hey, i have this two commands.
pawn Код:
CMD:pcar(playerid,params[]){ for(new i=0; i < MAX_HOUSES_PER_PLAYER; i++){ if(!IsPlayerInRangeOfPoint(playerid,8.0,hinfo[pinfo[playerid...
224
pawn Код:
new db_connect;//OnGameModeInit()..db_connect = mysql_connect("localhost","root","dayzdb","");
Try this without define costants..
189
show your portion code where you try to connect at database.
189