Jump to content
  • 0

Question

Posted

Salut aveti idee ce comanda trebuie sa pun pt cand ma pun afk/onduty sa imi para la /admins asa wRoberTw Founder -AFk

Multumesc!

1 answer to this question

Recommended Posts

  • 0
Posted
CMD:helpers( playerid, params[] )
{
    new Helpers;
    SendClientMessage( playerid, COLOR_LIGHTRED, "Online helpers:" );
    foreach(new i: Player)
	{
		if( playerVariables[ i ][ pHelper ] > 0 )
	    {
	        FormatMSG( playerid, ~1, "{0033FF}%s(ID:%d) "COL_W"- level %d (Duty: %s)", PlayerName( i ), i, playerVariables[ i ][ pHelper ], ( playerVariables[ i ][ pHelperDuty ] ) ? ("ON") : ("OFF") );
	        Helpers++;
	    }
	}
    if( Helpers == 0 )
		SendClientMessage( playerid, ~1, ""COL_R"No Helpers online at the moment!" );

	SendClientMessage( playerid, COLOR_TEAL, "-------------------------------------------------------------------" );
	SendClientMessage( playerid, COLOR_WHITE,"Daca ai vreo problema, poti folosi /report. Pentru intrebari legate de joc poti folosi /n" );
	SendClientMessage( playerid, COLOR_WHITE,"Poti deschide un ticket pe panel daca ai o problema ce nu tine de joc!" );
    SendClientMessage( playerid, COLOR_TEAL, "-------------------------------------------------------------------" );
    return true;
}

Eu iti dau mai sus un exemplu care arata daca jucatorul este Duty ON sau OFF. Daca stii ce sa faci cu ce ti-am dat o sa-ti fie de folos mare ;)

Sinner.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.