help with /enter command
#1

//----------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
Reply
#2

https://sampwiki.blast.hk/wiki/OnPlayerKeyStateChange
https://sampwiki.blast.hk/wiki/GetPlayerKeys
Reply
#3

put that strcm comand under the oders in gm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)