12.01.2013, 15:21
Olha como tб ele rotaciona quando eu usso o comando /abrir ou /fechar
Obs: й uma FS caso for o erro na FS aonde devo por ele no GM em qual lugar sou novato nesses assuntos
Quote:
|
// Portгo #include <a_samp> new Portao; #define Vermelho 0xFF0000AA #define Amarelo 0xFFFF00AA public OnFilterScriptInit() { Portao = CreateObject(980, 3468.2998046875, -686.19921875, 6.9000000953674, 0.0000, 0.0000, 90.0001); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { //---------------------------- if (strcmp(cmdtext, "/ap", true) ==0) { if(!IsPlayerAdmin(playerid)) { MoveObject(Portao,3468.3000488281,-686.20001220703, 12.10000038147, 5.0); SendClientMessage(playerid, Vermelho, "Portгo Aberto Manolo "); return 1; } } //---------------------------- if (strcmp(cmdtext, "/fp", true) ==0) { if(!IsPlayerAdmin(playerid)) { MoveObject(Portao,3468.2998046875, -686.19921875, 6.9000000953674, 5.0); SendClientMessage(playerid, Vermelho, "Portгo Fechadinho manolo "); return 1; } } return 0; } |



