Jump to content
  • 0

Am iarasi o problema ajutatima pls !!


BoBiTzaa

Question

15 answers to this question

Recommended Posts

//----------------------------------[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;

}

Link to comment
Share on other sites

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;
	}

Link to comment
Share on other sites

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 !

Link to comment
Share on other sites

forward UpdateAllPlayersPosition();
forward SaveAllGuns();
forward SaveGuns(playerid);
forward LoginLog(string[]);
forward AdminLog(string[]);

Sper ca stii unde sa le pui?

Hmm era asa greu?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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.