19.06.2011, 17:27
pawn Код:
if ( strcmp(cmdtext, "/entrar", true) == 0) {
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!");
return 0x01;
}
else 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!");
}
else if(IsPlayerInRangeOfPoint(playerid, 7.0, X,Y,Z)) {
SetPlayerInterior(playerid,5);
SetPlayerPos(playerid, X,Y,Z);
SendClientMessage(playerid,0x0000FF83,"Vocк Entrou na Academia de Kung-Fu!");
}
return 0x01;
}