Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include a_samp
- #include zcmd
- new BalochGate1a,
- BalochGate1b,
- BalochGate2a,
- BalochGate2b
- ;
- public OnFilterScriptInit()
- {
- BalochGate1a = CreateObject(988,2417.3, 716, 10.7,0,0,89.995); //object(ws_apgate)(4)
- BalochGate1b = CreateObject(988,2417.3, 710.5, 10.7,0,0,90); //object(ws_apgate)(3)
- BalochGate2a = CreateObject(988,2297, 715.79998779297, 10.699999809265,0,0,270); //object(ws_apgate)(2)
- BalochGate2b = CreateObject(988,2297.1000976563, 710.40002441406, 10.7,0,0,272); //object(ws_apgate)(1)
- return 1;
- }
- CMD:bco169(playerid,params[])
- {
- MoveObject(BalochGate1a, 2418.1000976563, 706.29998779297, 10.699999809265, 2.5, 0.0, 0.0, 89.999);
- MoveObject(BalochGate1b, 2418.1999511719, 720.29998779297, 10.699999809265, 2.5, 0.0, 0.0, 90);
- new string[128];
- format(string ,sizeof string,"Hello %s, Welcome to Baloch Calony, enjoy!", pName(playerid));
- SendClientMessage(playerid,0xAA3333AA, string);
- return 1;
- }
- CMD:bcc169(playerid,params[])
- {
- MoveObject(BalochGate1a, 2417.3, 716, 10.7, 2.5, 0,0, 89.995);
- MoveObject(BalochGate1b, 2417.3, 710.5, 10.7, 2.5, 0.0, 0.0, 90);
- new string[128];
- format(string ,sizeof string,"Good Bye %s, Take care!", pName(playerid));
- SendClientMessage(playerid,0xAA3333AA, string);
- return 1;
- }
- CMD:bco169(playerid,params[])
- {
- MoveObject(BalochGate2a, 2296.3000488281, 720.09997558594, 10.699999809265, 2.5, 0.0, 0.0, 270);
- MoveObject(BalochGate2b, 2296.3000488281, 706.40002441406, 10.699999809265, 2.5, 0.0, 0.0, 272);
- new string[128];
- format(string ,sizeof string,"Hello %s, Welcome to Baloch Calony, enjoy!", pName(playerid));
- SendClientMessage(playerid,0xAA3333AA, string);
- return 1;
- }
- CMD:bcc169(playerid,params[])
- {
- MoveObject(BalochGate2a, 2297, 715.79998779297, 10.699999809265,2.5,0,0,270);
- MoveObject(BalochGate2b, 2297.1000976563, 710.40002441406, 10.7,2.5,0,0,272);
- new string[128];
- format(string ,sizeof string,"Hello Good Bye %s, Take care!", pName(playerid));
- SendClientMessage(playerid,0xAA3333AA, string);
- return 1;
- }
- pName(playerid)
- {
- new playernamez[24];
- if(!IsPlayerConnected(playerid))
- {
- playernamez = "Null";
- }
- else
- {
- GetPlayerName(playerid, playernamez, sizeof playernamez);
- }
- return playernamez;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement