17.12.2010, 13:37
this is /enter:
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 6 || PlayerInfo[playerid][pLeader] >= 6)
{
if PlayerToPoint(5,playerid,-2522.0139,1215.7468,37.4283)
*then
{
SetPlayerPos(playerid,748.6010,1437.7462,1102.9531 );
SetPlayerInterior(playerid,6);
SetPlayerVirtualWorld(playerid, 6);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Yakuza HQ !");
return 1;
}
}
}
maybe is something at Virtual World..
and /exit
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
{
if PlayerToPoint(5,playerid,744.7842,1437.1365,1102.7 031)
*then
{
SetPlayerPos(playerid,-2522.0139,1215.7468,37.4283);
SetPlayerInterior(playerid,0);
return 1;
}
}
}
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 6 || PlayerInfo[playerid][pLeader] >= 6)
{
if PlayerToPoint(5,playerid,-2522.0139,1215.7468,37.4283)
*then
{
SetPlayerPos(playerid,748.6010,1437.7462,1102.9531 );
SetPlayerInterior(playerid,6);
SetPlayerVirtualWorld(playerid, 6);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Yakuza HQ !");
return 1;
}
}
}
maybe is something at Virtual World..
and /exit
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
{
if PlayerToPoint(5,playerid,744.7842,1437.1365,1102.7 031)
*then
{
SetPlayerPos(playerid,-2522.0139,1215.7468,37.4283);
SetPlayerInterior(playerid,0);
return 1;
}
}
}