Jump to content
  • 0

Comanda /admins


wRoberTw

Question

1 answer to this question

Recommended Posts

  • 0
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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.