Jump to content
  • 0

ZCMD vs YCMD, setspawn, mysql recomandat


Question

Posted

Am 3 intrebari:

Ce este recomandat sa folosesc, ZCMD sau YCMD si daca se poate sa argumentati.

2. Vreau ca in momentul in care se conecteaza un jucator sa il spawneze direct la locatia setata, folosesc urmatorul cod, dar tot ma pune sa apas spawn:

public OnPlayerConnect(playerid)
{
	GameTextForPlayer(playerid,"~w~Grand Larceny",3000,4);
  	SendClientMessage(playerid,COLOR_WHITE,"Welcome to {88AA88}G{FFFFFF}rand {88AA88}L{FFFFFF}arceny");
	SpawnPlayer(playerid);

	 return 1;
}

//----------------------------------------------------------

public OnPlayerSpawn(playerid)
{
	if(IsPlayerNPC(playerid)) return 1;
	SetPlayerPos(playerid, 479.9496, -1499.0201, 20.473620);

	return 1;
}

//----------------------------------------------------------

public OnPlayerDeath(playerid, killerid, reason)
{
   	return 1;
}

3. Ce plugin ar fi mai ok sa folosesc si ce versiune, ma gandeam la BlueG, ultima versiune.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.