SA-MP Forums Archive
Gravity - 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: Gravity (/showthread.php?tid=79994)



Gravity - Hot - 01.06.2009

Is there a way to set a gravity only for a player, or a CUSTOM function.

I.G: There isn't a function to send a client message for a team, but Are custom funtions like, SendCopMessage:

Код:
SendCopMessage(color, text[]) {
  for(new i = 0; i < MAX_PLAYERS; i ++) {
  if(IsPlayerConnected(i)) {
  if (gTeam[i] == TEAM_COPS) {
      SendClientMessage(i, color, text);
      }
    }
  }
  return 1;
}



Re: Gravity - Hot - 01.06.2009

I DON'T SAY SORRY FOR: Double post, I am not saying sorry, cause no one want to answer it.

Quote:

Is there a way to set a gravity only for a player, or a CUSTOM function.

I.G: There isn't a function to send a client message for a team, but Are custom funtions like, SendCopMessage:


SendCopMessage(color, text[]) {
for(new i = 0; i < MAX_PLAYERS; i ++) {
if(IsPlayerConnected(i)) {
if (gTeam[i] == TEAM_COPS) {
SendClientMessage(i, color, text);
}
}
}
return 1;
}




Re: Gravity - Born2die - 01.06.2009

...?
First post was Today at 07:49:55 am

second one was Today at 08:42:56 am

one hour between both, damn, you really have zero patience.


Re: Gravity - SpiderPork - 01.06.2009

You can use SetPlayerGravity with a plugin called YSF. Search for it.


Re: Gravity - Hot - 01.06.2009

I already downloaded it, but In the YSF directory I can't find the YSF.inc!


Re: Gravity - Joske_Vermeulen - 01.06.2009

there is a download link for that somewhere on the last pages of that topic


Re: Gravity - Hot - 01.06.2009

Okay, it's now on my include folter but it says:

Код:
C:\GTA\samp02Xserver.win32\filterscripts\Script.pwn(2) : fatal error 100: cannot read from file: "YSF"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
I have YSF plugin too.



Re: Gravity - SpiderPork - 01.06.2009

Are you sure it is YSF.inc?