Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×

Question

Posted

Am sistemul asta de AFK:

if(strcmp("/afk",cmdtext,true) ==0)
{
	new name[MAX_PLAYER_NAME], afkstringa[128];
	GetPlayerName( playerid, name, MAX_PLAYER_NAME );
	format(afkstringa, 128, "~w~%s is now AFK!",name);
	GameTextForAll( afkstringa, 2000, 1 );
	TogglePlayerControllable(playerid,0);
	return 1;
}

As vrea si cand dau /back, sa apara .. is now back sau ceva asemanator...

www.youtube.com/thebwgg

1 answer to this question

Recommended Posts

Posted
if(strcmp("/back",cmdtext,true) ==0)
{
	new name[MAX_PLAYER_NAME], afkstringa[128];
	GetPlayerName( playerid, name, MAX_PLAYER_NAME );
	format(afkstringa, 128, "~w~%s is now back!",name);
	GameTextForAll( afkstringa, 2000, 1 );
	TogglePlayerControllable(playerid,1);
	return 1;
}

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.