14.11.2012, 23:26
o comando do pedagio n esta funcionando alguem pode ajudar ??
Quote:
if(strcmp(cmd, "/pagarpedagio", true) == 0) { if(PlayerInfo[playerid][pLevel] > 1 && PlayerToPoint(15.0, playerid, 980,49.400001525879,-1523.1999511719,6.9000000953674)) { //Portoes pedagio GivePlayerMoney(playerid,-100); MoveObject( Portaopd, 49.400001525879,-1523.1999511719,1.3000094890594,3,0.0,0.0,264); GameTextForPlayer(playerid, "~w~Pedagio Pago", 5000, 3); SetTimer("Portaopd2", 5000, false); SendClientMessage(playerid, TEAM_BALLAS_COLOR, "O Portгo Fecharб em 5 segundos."); } return true; } |