Jump to content
  • 0

/enter


yonutzz

Question

salut. am mutat o factiune si am bagat alte coordonate la /enter si /exit, dar nu imi merg deloc.Nu merge nici /enter nici /exit. ce o avea?

Daca puteti sami faceti si mie comanda de /exit si /enter pentru factiunea nr 2 . Va dau eu coordonatele ca mie numi merg..

Aceasta ca sa intre in HQ samp000rzx.png iar coordonatele:

AddPlayerClass(286,1507.6525,-1510.1477,13.5473,342.2466,0,0,0,0,0,0); //

Iar aceasta pentru iesirea din HQ [img width=500 height=375] samp001dg.png 

Coordonatele:

AddPlayerClass(286,289.8177,167.2616,1007.1719,64.2214,0,0,0,0,0,0); //

Va rog mul sa ma ajutati ca stau de 1ora sa rezolv...

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

[pawn]

if(strcmp(cmd, "/enter", true) == 0)

{

if (PlayerToPoint(3, playerid,289.8177,167.2616,1007.1719))

{

SetPlayerPos(playerid,1507.6525,-1510.1477,13.5473);

SetPlayerInterior(playerid,IDINT);//inlocuie cu id-u de la int

}

return 1;

}

if(strcmp(cmd, "/exit", true) == 0)

{

if (PlayerToPoint(3, playerid,1507.6525,-1510.1477,13.5473))

{

SetPlayerPos(playerid,289.8177,167.2616,1007.1719);

SetPlayerInterior(playerid,0);

}

return 1;

}

[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

am rezolvat dar cum fac sa intre doar cel de factiunea 2?

Uite;

if(strcmp(cmd, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2
{		
if (PlayerToPoint(3, playerid,289.8177,167.2616,1007.1719))
{
SetPlayerPos(playerid,1507.6525,-1510.1477,13.5473);
SetPlayerInterior(playerid,IDINT);//inlocuie cu id-u de la int
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE, "Ne pare rau, dar nu esti membru FBI.");
}	
return 1;
}

if(strcmp(cmd, "/exit", true) == 0)
	{
if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLeader] == 2
{		
if (PlayerToPoint(3, playerid,1507.6525,-1510.1477,13.5473))
{
SetPlayerPos(playerid,289.8177,167.2616,1007.1719);
SetPlayerInterior(playerid,0);
}
}
else
{
SendClientMessage(playerid, COLOR_WHITE,"Ne pare rau, dar nu esti membru FBI.");
}
return 1;
}

<a href="http://www.userbars.be"><img src="http://img534.imageshack.us/img534/9098/36589.gif" alt="Free userbars" border="0"></a>

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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.