Linking a FS with a GM?
#1

Hey, I'm looking at creating a FS for my server, However I was wondering how can I link PlayerInfo with my gamemode instead of having to move everything into the FS?
Reply
#2

You can't.. Only if you use PVariables:
Код:
SetPVarString: Set a string for a player variable.
SetPVarInt: Set an integer for a player variable.
GetPVarInt: Get a player variable as an integer.
GetPVarString: Get the previously set string from a player variable.
SetPVarFloat: Set a float for a player variable.
GetPVarFloat: Get the previously set float from a player variable.
DeletePVar: Delete the player variable.
Reply
#3

So if I wanted this from my GM, How would I go about doing it?

Код:
FactionInfo[PlayerInfo[playerid][pMember]][FactionType];
Reply
#4

You don't create a FS, you put the FS right in your GameMode..
Reply
#5

Quote:
Originally Posted by Roach_
Посмотреть сообщение
You don't create a FS, you put the FS right in your GameMode..
I've tried doing that, Somehow I begin to get errors from my gamemode.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)