strange problem
#1

I was adding some commands to the server then i compiled and no errors found, then when i entered the server all the mapping disappeared like the lspd gates and doors and all the other things, can anyone tell me how can i fix it and why did this happened?
Reply
#2

First of all what did you last add in the GM? Paste the code's.

Check your OnGameModeInIt(); function that all the Objects are there. And Paste them on the top under OnGameModeInIt(); if there are in the middle or bottom.
Reply
#3

Quote:
Originally Posted by Ballu Miaa
Посмотреть сообщение
First of all what did you last add in the GM? Paste the code's.
Код:
public CheckDist(playerid,playerid2)
{
	if(GetDistanceBetweenPlayers(playerid,playerid2) > 15)
	{
	    new string[128], sendername[MAX_PLAYER_NAME];
	    
	    GetPlayerName(playerid, sendername, sizeof(sendername));
	    
		KillTimer(cufftimer[playerid]);
	    PlayerCuffed[playerid] = 0;
		TogglePlayerControllable(playerid, 0);
		SetPlayerColor(playerid, 0xFF660000);
		GaveUp[playerid] = 1;
		SendClientMessage(playerid, COLOR_LIGHTBLUE, "Cuffs failed, wait until a cop cuffs you");
		SendClientMessage(playerid, COLOR_CREAM, "Do not attempt to escape, you can be killed / kicked!");
		format(string, sizeof(string), "[HQ]: Criminal %s (%d)'s cuffs have failed, hold your fire and CUFF him!",sendername,playerid);
		SendRadioMessage(1,COLOR_BLUE,string);
		SendRadioMessage(2,COLOR_BLUE,string);
		SendRadioMessage(3,COLOR_BLUE,string);
		LoopingAnim(playerid, "ROB_BANK","SHP_HandsUp_Scr", 4.0, 0, 1, 1, 1, 0);
	}
	return 1;
}
Reply
#4

I would say put that Into a "stock" and just return anything if necessary.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)