SA-MP Forums Archive
help with /enter command - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help with /enter command (/showthread.php?tid=144619)



help with /enter command - KennYthegod - 28.04.2010

//----------hq--------------------//
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5)
{
if PlayerToPoint(5,playerid,1122.8378,-2037.0856,69.8941)
*then
{
SetPlayerPos(playerid,942.171997,-16.542755,1000.929687);
SetPlayerInterior(playerid,3);
SendClientMessage(playerid,COLOR_1GREEN,"*** Bun venit in sediul Colombo Family !");
return 1;
}
}
}
ok do anybody know how i make from /enter to press enter or shift? help plz


Re: help with /enter command - RyDeR` - 28.04.2010

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/GetPlayerKeys


Re: help with /enter command - piratu - 28.04.2010

put that strcm comand under the oders in gm