Deiviux's Questions - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Deiviux's Questions (
/showthread.php?tid=81727)
Deiviux's Questions -
Poweer - 13.06.2009
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
Re: Deiviux's Questions -
miokie - 13.06.2009
Yagus Race Filterscript.
New Question -
Poweer - 13.06.2009
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.
Re: Deiviux's Questions -
miokie - 13.06.2009
Ask in Lubys FS thread then.
Re: Deiviux's Questions -
Dreftas - 13.06.2009
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..
Re: Deiviux's Questions -
Poweer - 15.06.2009
I Found The Answer My Self. I Don't need it any more