Jump to content
  • 0

Am iarasi o problema ajutatima pls !!


Question

Posted

Cand dau /rr ii comanda /gmx originala dar am pus rr sa da restart la srv nu mi se incarca filescripturile si cred ca de aceia numi merg interioarele si nush ce sa fac sa am comanda /rr adica /gmx si cand dau sa se restarteze srv ca si cum ias da eu drumul

15 answers to this question

Recommended Posts

Posted

//----------------------------------[GMX]-----------------------------------------------

if(strcmp(cmd, "/rr", true) == 0)

{

    if(IsPlayerConnected(playerid))

    {

if (PlayerInfo[playerid][pAdmin] >= 6001)

{

GameModeExit();

}

else

{

SendClientMessage(playerid, COLOR_GRAD1, "  You are not authorized to use that command !");

}

}

return 1;

}

Posted

Incearca cu asta  , Sper sa iti fie de folos

//----------------------------------[GMX]-----------------------------------------------

	if(strcmp(cmd, "/gmx", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (PlayerInfo[playerid][pAdmin] >= 5)
			{
			    SaveAllGuns();
			    UpdateAllPlayersPosition();
				GameModeExitFunc(playerid);
				new y, m, d;
				new h,mi,s;
				getdate(y,m,d);
				gettime(h,mi,s);
				format(string,sizeof(string), "(%d/%d/%d)[%d:%d:%d] %s Has Restarted the GameMode (/gmx)",d,m,y,h,mi,s,sendername);
				LoginLog(string);
				AdminLog(string);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
			}
		}
		return 1;
	}

Posted

C:\Documents and Settings\ChiNeZu\Desktop\Mihai\folder mihai\romeonet final\gamemodes\eRP.pwn(21629) : error 017: undefined symbol "SaveAllGuns"

C:\Documents and Settings\ChiNeZu\Desktop\Mihai\folder mihai\romeonet final\gamemodes\eRP.pwn(21630) : error 017: undefined symbol "UpdateAllPlayersPosition"

C:\Documents and Settings\ChiNeZu\Desktop\Mihai\folder mihai\romeonet final\gamemodes\eRP.pwn(21631) : warning 202: number of arguments does not match definition

C:\Documents and Settings\ChiNeZu\Desktop\Mihai\folder mihai\romeonet final\gamemodes\eRP.pwn(21637) : error 017: undefined symbol "LoginLog"

C:\Documents and Settings\ChiNeZu\Desktop\Mihai\folder mihai\romeonet final\gamemodes\eRP.pwn(21638) : error 017: undefined symbol "AdminLog"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

uite ma

Samp.OnlyPro.ro - RolePlay - Join Us !

Posted

mie imi da asa cu tot cu forwar de mai sus

D:\programe\ghood\gamemodes\Moon.pwn(12749) : error 004: function "SaveAllGuns" is not implemented

D:\programe\ghood\gamemodes\Moon.pwn(12750) : error 004: function "UpdateAllPlayersPosition" is not implemented

D:\programe\ghood\gamemodes\Moon.pwn(12751) : warning 202: number of arguments does not match definition

D:\programe\ghood\gamemodes\Moon.pwn(12757) : error 004: function "LoginLog" is not implemented

D:\programe\ghood\gamemodes\Moon.pwn(12758) : error 004: function "AdminLog" is not implemented

Posted

Ma nu aveti nevoie de acele functi

//----------------------------------[GMX]-----------------------------------------------

	if(strcmp(cmd, "/gmx", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (PlayerInfo[playerid][pAdmin] >= 5)
			{
			    //UpdateAllPlayersPosition();
				GameModeExitFunc(playerid);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not authorized to use that command !");
			}
		}
		return 1;
	}

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

si as vrea cand dau /gmx sa se restarteze tot srv si sa se incarce din nou filescripturile si alea ca si cu m as apasa pe x la srv si las porni din nou plssss

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.