Server Scripting Help
#1

Hi guys... I maked a server and now i need scripts...Can someone script First i need scripts for teleports : /SFA /LSA /LVA then i need for /AFK /BAck and i have other 1 problem HOUSEs are not buyablle. + i want to add some businees and 1 more script /cars for cars menu ...Please Help me...
Reply
#2

Go in-game and use /save to save co-ordinates then make a command for teleports.

XYZ = Your co-ordinates.

Код:
if(!strcmp(cmdtext,"/LVA",true))
    {            
        SetPlayerPos(playerid, X, Y, Z);
        return 1;
    }
Код:
if(!strcmp(cmdtext,"/SFA",true))
    {            
        SetPlayerPos(playerid, X, Y, Z);
        return 1;
    }
Код:
if(!strcmp(cmdtext,"/LSA",true))
    {            
        SetPlayerPos(playerid, X, Y, Z);
        return 1;
    }
Reply
#3

Yes and please help about houses and biz and script about /cars and /afk /back
Thank youu !
Reply
#4

Use Search and I am sure that you will find some of them!
Reply
#5

Quote:
Originally Posted by walkingstorm
Посмотреть сообщение
Yes and please help about houses and biz and script about /cars and /afk /back
Thank youu !
Okay, do you have team viewer ?
Reply
#6

Chillzen i dont understand nothing but sniperwars will send me the scripts...
Reply
#7

before you start owning a server learn to script! otherwise ****** and the search function are your friends!
Reply
#8

AFK & Back


Код:
     if(strcmp(cmdtext, "/afk", true) == 0)
     {
          TogglePlayerControllable(playerid,0);
          new name[MAX_PLAYER_NAME], string[44];
          GetPlayerName(playerid, name, sizeof(name));
          format(string, sizeof(string), "%s is now afk.",name);
          SendClientMessageToAll(0xFFFF00AA, string);
          return 1;
     }
     if(strcmp(cmdtext, "/back", true) == 0)
     {
          TogglePlayerControllable(playerid,1);
          new name[MAX_PLAYER_NAME], string[44];
          GetPlayerName(playerid, name, sizeof(name));
          format(string, sizeof(string), "%s is now back.",name);
          SendClientMessageToAll(0xFFFF00AA, string);
          return 1;
     }
Reply
#9

Quote:
Originally Posted by walkingstorm
Посмотреть сообщение
Chillzen i dont understand nothing but sniperwars will send me the scripts...
Just PM me your team viewer ID and pass and I'll give you the scripts.
Reply
#10

Quote:
Originally Posted by walkingstorm
Посмотреть сообщение
Chillzen i dont understand nothing but sniperwars will send me the scripts...
I guess you guys didn't understand what he said.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)