Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///////////////////////////////My Frist FS By Astana Lol //////////////////////////// Please Dont Remove My Name
- #include <a_samp>
- #include <zcmd>
- new ShowSkyText[MAX_PLAYERS];
- new Text:Sky0;
- new Text:Sky1;
- new Text:Sky3;
- new Text:Sky4;
- new Text:Sky5;
- new Text:Sky6;
- new Text:Sky7;
- new Text:Sky8;
- new Text:Sky9;
- new Text:Sky10;
- new Text:Sky11;
- new Text:Sky12;
- new Text:Sky13;
- new Text:Sky14;
- new Text:Sky15;
- new Text:Sky16;
- new Text:Sky17;
- new Text:Sky18;
- new Text:Sky19;
- new Text:Sky20;
- new Text:Sky21;
- new Text:Sky22;
- new Text:Sky23;
- new Text:Sky24;
- new Text:Sky25;
- new Text:Sky26;
- new Text:Sky27;
- stock ShowSky(playerid)
- {
- TextDrawShowForPlayer(playerid, Sky0);
- TextDrawShowForPlayer(playerid, Sky1);
- TextDrawShowForPlayer(playerid, Sky3);
- TextDrawShowForPlayer(playerid, Sky4);
- TextDrawShowForPlayer(playerid, Sky5);
- TextDrawShowForPlayer(playerid, Sky6);
- TextDrawShowForPlayer(playerid, Sky7);
- TextDrawShowForPlayer(playerid, Sky8);
- TextDrawShowForPlayer(playerid, Sky9);
- TextDrawShowForPlayer(playerid, Sky10);
- TextDrawShowForPlayer(playerid, Sky11);
- TextDrawShowForPlayer(playerid, Sky12);
- TextDrawShowForPlayer(playerid, Sky13);
- TextDrawShowForPlayer(playerid, Sky14);
- TextDrawShowForPlayer(playerid, Sky15);
- TextDrawShowForPlayer(playerid, Sky16);
- TextDrawShowForPlayer(playerid, Sky17);
- TextDrawShowForPlayer(playerid, Sky18);
- TextDrawShowForPlayer(playerid, Sky19);
- TextDrawShowForPlayer(playerid, Sky20);
- TextDrawShowForPlayer(playerid, Sky21);
- TextDrawShowForPlayer(playerid, Sky22);
- TextDrawShowForPlayer(playerid, Sky23);
- TextDrawShowForPlayer(playerid, Sky24);
- TextDrawShowForPlayer(playerid, Sky25);
- TextDrawShowForPlayer(playerid, Sky26);
- TextDrawShowForPlayer(playerid, Sky27);
- }
- stock HideSky(playerid)
- {
- TextDrawHideForPlayer(playerid, Sky0);
- TextDrawHideForPlayer(playerid, Sky1);
- TextDrawHideForPlayer(playerid, Sky3);
- TextDrawHideForPlayer(playerid, Sky4);
- TextDrawHideForPlayer(playerid, Sky5);
- TextDrawHideForPlayer(playerid, Sky6);
- TextDrawHideForPlayer(playerid, Sky7);
- TextDrawHideForPlayer(playerid, Sky8);
- TextDrawHideForPlayer(playerid, Sky9);
- TextDrawHideForPlayer(playerid, Sky10);
- TextDrawHideForPlayer(playerid, Sky11);
- TextDrawHideForPlayer(playerid, Sky12);
- TextDrawHideForPlayer(playerid, Sky13);
- TextDrawHideForPlayer(playerid, Sky14);
- TextDrawHideForPlayer(playerid, Sky15);
- TextDrawHideForPlayer(playerid, Sky16);
- TextDrawHideForPlayer(playerid, Sky17);
- TextDrawHideForPlayer(playerid, Sky18);
- TextDrawHideForPlayer(playerid, Sky19);
- TextDrawHideForPlayer(playerid, Sky20);
- TextDrawHideForPlayer(playerid, Sky21);
- TextDrawHideForPlayer(playerid, Sky22);
- TextDrawHideForPlayer(playerid, Sky23);
- TextDrawHideForPlayer(playerid, Sky24);
- TextDrawHideForPlayer(playerid, Sky25);
- TextDrawHideForPlayer(playerid, Sky26);
- TextDrawHideForPlayer(playerid, Sky27);
- }
- public OnPlayerText(playerid, text[])
- {
- if(text[0] == '1')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, 1686.9702,-1312.8329,872.7163);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '2')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, -2112.7942,659.1328,875.6769);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '3')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, 2343.6409,1521.8400,732.7235);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '4')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, -2325.4336,-1577.2311,831.6756);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '5')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, -227.6763,58.2109,882.4087);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '6')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, 530.2466,2342.7766,850.5984);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- if(text[0] == '7')
- {
- if(ShowSkyText[playerid] == 1)
- {
- GivePlayerWeapon(playerid, 46, 46);
- SetPlayerPos(playerid, -1227.7010,1782.9180,896.1829);
- SendClientMessage(target, -1, "This FS By AstanaLol");
- }
- }
- return 1;
- }
- CMD:showsky(playerid, params[])
- {
- ShowSky(playerid);
- ShowSkyText[playerid] = 1;
- return 1;
- }
- CMD:closesky(playerid, params[])
- {
- HideSky(playerid);
- ShowSkyText[playerid] = 0;
- SendClientMessage(target, -1, "This FS By AstanaLol");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement