Deiviux's Questions
#1

Hi every1. Sometimes i want to ask something about scripting etc. and I don't want to create new topic, so I'ill put all my questions to this topic.

So let's start

1. Where i can get FS that will create race and if player will go to /mcr (example) there will be CheckPoint and if player will write /join (example) in that CP, after 30 s. (example) race will start.
That 30 s. is time to another players to join.

So, i tried to search, but i haven't found that what I need.


P.s I am from Lithuania (You can see it there or there so my English is not so good :P
Reply
#2

Yagus Race Filterscript.
Reply
#3

Quote:
Originally Posted by Miokie*
Yagus Race Filterscript.
Ok, I'll try it

2. How to make that when player finish drift, it will SendPlayerMessageToAll like: *PlayerName* collected *DriftPoints* $.

There is the code:

pawn Код:
public DriftCancellation(playerid){
    PlayerDriftCancellation[playerid] = 0;
    GameTextForPlayer(playerid, Split("~w~Driftas baigesi!~n~~g~Uzdirbai ", tostr(DriftPointsNow[playerid]), "$"), 2000, 3);
  GivePlayerMoney(playerid, DriftPointsNow[playerid]);
    DriftPointsNow[playerid] = 0;
}
I'm using Luby FS.

Reply
#4

Ask in Lubys FS thread then.
Reply
#5

Maybe:
pawn Код:
public DriftCancellation(playerid){
    PlayerDriftCancellation[playerid] = 0;
    GameTextForPlayer(playerid, Split("~w~Driftas baigesi!~n~~g~Uzdirbai ", tostr(DriftPointsNow[playerid]), "$"), 2000, 3);
    new DriftCanc[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(DriftCanc,128,"%s collected %s drift points",pName,tostr(DriftPointsNow[playerid]));
    SendClientMessageToAll(0x80FF80FF,DiftCanc);
        GivePlayerMoney(playerid, DriftPointsNow[playerid]);
    DriftPointsNow[playerid] = 0;
}
Try it.. i dont know if it works..
Reply
#6

I Found The Answer My Self. I Don't need it any more
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)