19.06.2011, 15:44
pawn Код:
if (strcmp(cmdtext, "/entrar", true) ==0)//ENTRAR NA PREFEITURA
{
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1378.7239990234,-1753.1411132813,14.140625))
{
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid, 774.19915771484,-50.189094543457,1000.5859375);
SendClientMessage(playerid,0x0000FF83,"Vocк Entrou na Academia de Box!");
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, 1791.7954101563,1163.5073242188,23.828125))
{
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid, 773.92553710938,-78.552040100098,1000.6627197266);
SendClientMessage(playerid,0x0000FF83,"Vocк Entrou na Academia de Kung-Fu!");
}
if(IsPlayerInRangeOfPoint(playerid, 7.0, /*CorX, Cory, Corz*/))
{
// Funзхes
}
return 1;
}