Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Portao 1 da pf
- public OnGameModeInit()
- {
- PortaoBasePF = CreateObject(971, 365.10000610352, -1469.4000244141, 31.39999961853, 0.0000, 0.0000, 38.0000);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/apf1", true) == 0)
- {
- MoveObject(PortaoBasePF,365.10000610352, -1469.4000244141, 31.39999961853, 3.0);
- SendClientMessage(playerid, 0x9E3EFFAA, " Abrindo PORTAO de PF...");
- return 1;
- }
- if(strcmp(cmdtext, "/fpf1", true) == 0)
- {
- MoveObject(PortaoBasePF,365.10000610352, -1469.4000244141, 26.700000762939, 3.0);
- SendClientMessage(playerid, 0x9E3EFFAA, " Fechando PORTAO de PF...");
- return 1;
- }
- return 0;
- }
- Portao 2 da pf
- public OnGameModeInit()
- {
- PortaoBasePF2 = CreateObject(971, 310.79998779297, -1555.3000488281, 31.299999237061, 0.0000, 0.0000, 322.0000);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/apf2", true) == 0)
- {
- MoveObject(PortaoBasePF2,310.79998779297, -1555.3000488281, 27.299999237061, 3.0);
- SendClientMessage(playerid, 0x9E3EFFAA, " Abrindo PORTAO de PF...");
- return 1;
- }
- if(strcmp(cmdtext, "/fpf2", true) == 0)
- {
- MoveObject(PortaoBasePF2,310.79998779297, -1555.3000488281, 31.299999237061, 3.0);
- SendClientMessage(playerid, 0x9E3EFFAA, " Fechando PORTAO de PF...");
- return 1;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement