[FilterScript] SkyDive
#1

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;
}
Reply
#2

Reply
#3

Sorry, but "system"?
Reply
#4

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

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;
    } 
Reply
#6

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.
Reply
#7

Thanks...
Reply
#8

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

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]
Reply
#10

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..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)