28.04.2010, 18:27
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
{
if PlayerToPoint(5,playerid,-1989.6385,1117.8773,54.468
*then
{
SetPlayerPos(playerid,-2025.0823,1143.2609,18.068;
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Church, The home of God !");
return 1;
}
}
}
how can i make from /enter to ENTER BUTTON ?? help plz
{
if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
{
if PlayerToPoint(5,playerid,-1989.6385,1117.8773,54.468
*then
{
SetPlayerPos(playerid,-2025.0823,1143.2609,18.068;
SetPlayerInterior(playerid,0);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Church, The home of God !");
return 1;
}
}
}
how can i make from /enter to ENTER BUTTON ?? help plz