17.08.2017, 23:39
What about the installation ?
How to get it working ?
How to get it working ?
Uhhhh there is a weird bug.
When you create a new character after you register, When you click on the character. Nothing happens, You will be stuck. |
PlayerData[playerid][pGender] = 1;
PlayerData[playerid][pGender] = 0;
else if(playertextid == PlayerData[playerid][pTextdraws][22]) { if(!strlen(PlayerData[playerid][pBirthDate])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify a birth date."); else if(!strlen(PlayerData[playerid][pOrigin])) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin."); else { for(new i = 11; i < 23; i++) PlayerTextDrawHide(playerid, PlayerData[playerid][pTextdraws][i]); switch (PlayerData[playerid][pGender]) { case 1: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aMaleSkins, sizeof(g_aMaleSkins), -16.0, 0.0, -55.0); case 2: ShowModelSelectionMenu(playerid, "Select Skin", MODEL_SELECTION_SKIN, g_aFemaleSkins, sizeof(g_aFemaleSkins), -16.0, 0.0, -55.0); } } }
else if(PlayerData[playerid][pGender] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "SERVER: You must specify an origin.");
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Male");
PlayerData[playerid][pTextdraws][16] = CreatePlayerTextDraw(playerid, 271.000000, 169.000000, "~r~Gender:~w~ Please specify...");
How to make myself an admin?
I logged in the rcon and tried /makeadmin but It says that I don't have permissions to do that.. |
if (PlayerData[playerid][pAdmin] < 6) return SendErrorMessage(playerid, "You don't have permission to use this command.");
[20:39:22] [debug] Run time error 4: "Array index out of bounds" [20:39:22] [debug] Attempted to read/write array element at negative index -1 [20:39:22] [debug] AMX backtrace: [20:39:22] [debug] #0 0039dab8 in public dialog_MyBillboardMessage (playerid=0, response=1, listitem=-1, inputtext[]=@013bcf14 "naon atuh") at C:\Users\xxx\Desktop\server\sc 0.3.7\gamemodes\roleplay.pwn:28408 [20:39:22] [debug] #1 native CallLocalFunction () from samp-server.exe [20:39:22] [debug] #2 00038a80 in public OnDialogResponse (playerid=0, dialogid=32700, response=1, listitem=-1, inputtext[]=@013bceec "test mesageeeee") at C:\Users\hamid\Desktop\server\sc mod 0.3.7\pawno\include\easyDialog.inc:131 [21:09:18] [part] Dum_Lexia has left the server (0:1)
else if ((id = Car_Nearest(playerid)) != -1) { static engine, lights, alarm, doors, bonnet, boot, objective; GetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, doors, bonnet, boot, objective); if (Car_IsOwner(playerid, id)) { if (!CarData[id][carLocked]) { CarData[id][carLocked] = true; Car_Save(id); ShowPlayerFooter(playerid, "You have ~r~locked~w~ the vehicle!"); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); SetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, 1, bonnet, boot, objective); } else { CarData[id][carLocked] = false; Car_Save(id); ShowPlayerFooter(playerid, "You have ~g~unlocked~w~ the vehicle!"); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); SetVehicleParamsEx(CarData[id][carVehicle], engine, lights, alarm, 0, bonnet, boot, objective); } } }
There were some problems with dynamic fractions and the rest of the dynamic. What is the problem, cleared the entire database, and when creating a faction on the server it is given ID 0, in the database it is listed as ID 1, because it costs A_I, and the account starts with one, and when the player's account is saved, if the faction on server 0, And in base 1, he will retain the fraction 0, which does not exist. Also with some works and other dynamic, the first object gets to zero coordinates, and the next one is already visible in its place. I do not know, I just had one such problems, or many have such problems. I apologize for my English, I am a resident of Ukraine and do not know him very well.
|