Search Results
Try: PHP код: COMANDO:i (playerid, params[]) return cmd_inventario(playerid, params); COMANDO:inventario (playerid, params[]) //error {       //// } 
122
Quote: Originally Posted by Dutheil Why 10 ? I don't think he'll be replying to you.. he hasn't been online in almost 4 years xD
1,010
Yeah that's not correct. Where do you actually create the dynamic checkpoints? You must have code similar to this: pawn Код: RobberyCheckpoints[i] = CreateDynamicCheckpoint(RobberyCPs[i][0], Rob...
165
The IsPlayerInDynamicCP function is looking for a checkpointid value, not the location of the checkpoint. pawn Код: IsPlayerInDynamicCP(playerid, checkpointid)  { /* code */ } Somewhere within ...
165
Quote: Originally Posted by ZToPMaN post Make sure you always put code snippets into [.pawn] [/pawn] tags (remove the full stop in the first tag). Also, reduce the size of your strings...
138
It seems like you just need to use an integer instead of the u specifier (which stands for username). pawn Код: new fid;    new string[128];    if(sscanf(params, "d", fid)) return SendClientM...
98
Sorry Dokins, missed this last night. What it actually may be is that, when you enter the code block for the appropriate checkpoint (such as DrivingCheck[playerid][1]), you never actually reassign (or...
96
Hmm, maybe try creating the new CP before destroying the old one? I'm not 100% it functions the way I mentioned above but it should in theory. Also, I'm guessing (as it's not a compilation issue) you...
166
You should use pawn Код: if (..)else if(..)else if(..) instead of just using if statements. This is what's happening with your code. Enters callback with checkpointid being 15 if(checkpointid =...
166
pawn Код: if(serverInfo[bankTime] == 0)    {        for(new i = 0; i < MAX_PLAYERS; i++)        {            if (GetPlayerVirtualWorld(i) == 32)            {         ...
174
So the houses are correctly saved in the database and then LoadHouses correctly loads all of the houses?
199
I think this is the sort of thing you're after. I've no idea what version of the MySQL plugin you're using but I'm sure you can easily edit this piece of code for the version you're using. This does...
262
If it creates 100 items in the same spot, then you need to break the loop once it creates the first item. Simply put pawn Код: break; After you create the object. So: pawn Код: DropObject[i]...
135
Post the code for the SELECT query as well please.
274
Where do you get the players information? You should have a SELECT query somewhere in your script, like under a function called LoadPlayerData or something. PHP код: "SELECT * FROM `users`Â...
274
You have to use the function that was available for the version of MySQL you're using. From your first post, you had this function so I'll assume this is the function you need: PHP код: format...
779
Quote: Originally Posted by PURG3D Another Problem. I was going to run this query directly through SQL Tab but i got this error If you're going to tell me Im a noob, Please its okay for...
779
Yes, you still use "VALUES" no matter what you are inserting. So to insert values into the gMOTD and ShopClosed fields, you would do this: PHP код: new query[100];format(query, sizeof(quer...
779
I believe this is what you want? pawn Код: public OnPlayerCommandText(playerid, cmdtext[]) {    SendClientMessage(playerid,PLAVA,"GRESKA: Komanda koju ste napisali je nepostojeca!");    retur...
128
Browse allows you to browse any content within the table. Structure shows you how the layout of the table, allows you to add/remove fields/columns, rearrange them, etc. Do this: Click the 'SQL' tab. ...
779