SA-MP Forums Archive
[FilterScript] SkyDive - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] SkyDive (/showthread.php?tid=359587)



SkyDive - Tuntun - 14.07.2012

Hello
i am create a small Sky Dive system

Код:
Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/SkyDive", true,7))
    {
        SetPlayerPos(playerid, 1542.6259,-1353.0114,329.4743);
        SendClientMessage(playerid, 0x00FF00AA, "You have teleported to SkyDive!.");
        return 1;
      }
return 1;
}



Re: SkyDive - Pinguinn - 14.07.2012




Re: SkyDive - TheGamer! - 14.07.2012

Sorry, but "system"?


Re: SkyDive - Tuntun - 15.07.2012

Quote:
Originally Posted by Pinguinn
Посмотреть сообщение
i am serious...


Re: SkyDive - Dj_Atomica - 15.07.2012

Here is my code. He just teleport to 1500 meters
PHP код:
    if(strcmp(cmd"/skydive"true) == 0)
    {
        
GetPlayerPos(playeridrxryrz);
        
GivePlayerWeapon(playerid,46,1);
        
SetPlayerPos(playerid,rx,ry,rz+1500);
        
SendClientMessage(playeridCOLOR_WHITE"Go Go Go :D");
        return 
1;
    } 



Re: SkyDive - Faisal_khan - 15.07.2012

WTF! dude! That is not a FS! If you wanna create a FS get some unique ideas, which is hard to be coded not like a teleportation command! Then present your idea compassionately. Check out my FS [FilterScript] Police Car Mine System v1.0

Or check some other guyz FS's.

This is how a FS should be presented.


Re: SkyDive - Tuntun - 15.07.2012

Thanks...


Re: SkyDive - GTAItsMe - 15.07.2012

wow amazing! how did u do that
i will never be like u....


Re: SkyDive - newbienoob - 15.07.2012

Wanna see a real "skydive system"? Here
pawn Код:
CMD:dive(playerid,params[])
{
    new m,Float:Pos[3];
    GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
    if(sscanf(params,"i",m)) return SendClientMessage(playerid,COLOR_RED,"[USAGE]/Dive [Height]");
    SetPlayerPos(playerid,Pos[0],Pos[1],m);
    GivePlayerWeapon(playerid,46,1);
    return 1;
}
/Dive [height]


Re: SkyDive - Tuntun - 15.07.2012

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
Wanna see a real "skydive system"? Here
pawn Код:
CMD:dive(playerid,params[])
{
    new m,Float:Pos[3];
    GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
    if(sscanf(params,"i",m)) return SendClientMessage(playerid,COLOR_RED,"[USAGE]/Dive [Height]");
    SetPlayerPos(playerid,Pos[0],Pos[1],m);
    GivePlayerWeapon(playerid,46,1);
    return 1;
}
/Dive [height]
my script not fake.. t is real too..