22.12.2011, 01:40
Po Gente, Eu aki De novo rsrsrs... Olha Qunado Teleporta Nao Aparece Nenhuma Mensagem,
Por Favor corrigam pra mim rsrs...
Por Favor corrigam pra mim rsrs...
Quote:
public OnPlayerCommandText(playerid, cmdtext[]) { if(strcmp(cmdtext, "/Drift", true) == 0) { SetPlayerInterior(playerid, 0); new State = GetPlayerState(playerid); if(State!=PLAYER_STATE_DRIVER) return SetPlayerPos(playerid,-280.6368,1535.1832,75.3594); if(IsPlayerInAnyVehicle(playerid)) { new Carro = GetPlayerVehicleID(playerid); SetVehiclePos(Carro, -280.6368,1535.1832,75.3594); SetPlayerPos(playerid, -280.6368,1535.1832,75.3594); SetVehicleZAngle(Carro, 128.0556); PutPlayerInVehicle(playerid, Carro, 0); } else return SetPlayerPos(playerid,-280.6368,1535.1832,75.3594); SendClientMessage(playerid, 0x46BBAA00,"Vocк foi para Drift X1!"); new Nome[MAX_PLAYER_NAME], string[40]; GetPlayerName(playerid, Nome, sizeof(Nome)); format(string, sizeof(string), "%s foi para (/drift)", Nome); SendClientMessageToAll(0x46BBAA00, string); return 1; } return 0; } |