Search Results
No estбs asignandole ningun dato a %d ni a %s.
162
La primera idea si es posible, sin embargo, me parece que serнa un poco complicado. Yo lo harнa utilizando OnPlayerWeaponShot, creas el objeto que desees y lo mueves a la posiciуn del disparo. Sin ...
54
Estбs utilizando mal la funciуn GetPlayerVirtualWorld, ya que solo acepta 1 parametro que es la id del jugador, si quieres guardarlo como una variable tienes que poner Код: VW = GetPlayerVirtua...
73
Quote: #define VehiculoNombre(%0) VehiculosNombres[GetVehicleModel(%0)-400] Creo que eso es lo que estб mal, segъn lo que entiendo, estбs restandole 400 a la funciуn GetVehicl...
60
Thanks for the explanation, I thought there was a shorter way to do this.
141
Maybe try using floats instead of integers for the coordinates?
107
That's exactly what I don't want. I want to detect if there ARE NOT any dots on the string, the code you just posted detects if there ARE dots in the string. Using (!strfind) doesn't seem to work.
141
I don't get it. The colors aren't showing up? In the code that you posted you are already using a string and different colors. Also, I'm pretty sure that you'll need more length than just 48 characte...
132
Is there a way that I can detect if there is not a specific character in a string? I've only found tutorials that explains how to find a character in a string, such as: PHP код: if(strfind(in...
141
Why is it more efficient to save them each individually? I still sscanf them as a floats when I need to use them, is it somehow "faster" to just have them in their own variable? I feel like I save mor...
178
How would you save the player's coordinates?. I like using a string because I can save everything in just one line instead of using 4 different variables. (And yes, the quotation mark following "mone...
178
Edit: I just fixed it, seems like you can't have spaces when saving variables. I had: PHP Code: INI_WriteInt(jFile, "Virtual World", vw);  and just changed it to: PHP Code: INI_Wri...
178
Quote: Originally Posted by ProDude Try this one in your current script i think this code will work Код: CMD:test(playerid, params[]) { new str[1000]; format(str, sizeof(str), "Da da...
274
Are you openning the right file? You should have something like: Код: INI:File = INI_Open(PlayerFile(playerid));
123
Nope, both still give out "Unknown Command", and the dialog doesn't show up. Код: CMD:test(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_MSGBOX, "Test Dialog", "Da d...
274
Actually, this is portuguese. por favor acesse aqui.
85
Quote: Originally Posted by saffierr You have to script under the "OnDialogResponse" either. I do. Код: public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])...
274
I have no idea why I'm getting this message, the dialog won't show up as well. Код: #define DIALOG_TEST 700 CMD:test(playerid, params[]) { ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_M...
274
Yes, I just double checked, when the game mode closes it only saves 1 file (Maybe there's not enough time for it to save them all?), I made a command to force save all vehicles and it does work.
217
Now I'm having a different issue, I hope that it's not because of that, the server is only saving the first vehicle created as 0.ini, all vehicles created after that don't get saved.
217