Jump to content
  • 0

Problema /takejob


n1cabbs

Question

Nick: n1cabbsx

Problema: Am pus la primarie pickup si 3DTextLabel cu /takejob , dar nu stiu cum sa fac comanda si ca atunci cand un player scrie de exemplu:

/takejob lawyer sa ii seteze automat job-ul lawyer.

Erori / warnings: ---

Lini/script:

AddStaticPickup(1239, 2, 370.2882,178.3599,1008.3828); //takejob

Create3DTextLabel("{2641fe}Primaria LS \n {ffffff}Scrie {008000}/takejob {FFFFFF}pentru te {008000}angaja.",0xE60000FF,370.2882,178.3599,1008.3828,8,0,1); //takejob

Ai incercat sa rezolvi singur ?: Da ,dar nu am reusit , am cautat tutoriale... nu am gasit nimic.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

CMD:takejob( playerid, params[ ] )
{
	new m_Job ;

	if ( sscanf( params, "d", m_Job ) )
	    return SendClientMessage( playerid, -1, "/takejob (1 = Lawyer)" ) ;
	    
	switch( m_Job )
	{
		case 1: PlayerData[ playerid ][ pJob ] = 1 ; // 1 schimbi cu 2, 3, 4 sau ce JOB ID are lawyer .
	}
	return ( 1 ) ;
}

7bdea99b11.png

rimmon curv.

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.