ReksThePotato Help thread -
ReksThePotato - 26.05.2015
So im making this thread for people who can help answer my questions, So to start off, i have a few questions
Does anyone have a tutorial on how to make a simple hospital system?
Does anyone know why when i relog into my server after logging off, i only have 1 HP?
and the final question for now.
Does anyone know or know where to find a tutorial on making factions for an rp server?
Re: ReksThePotato Help thread -
Vince - 26.05.2015
Quote:
Originally Posted by ReksThePotato
Does anyone know why when i relog into my server after logging off, i only have 1 HP?
|
Probably because you're using GetPlayerHealth wrong. The actual health is stored in the referenced variable, but it sounds like you're using the return value of the function.
Re: ReksThePotato Help thread -
amirm3hdi - 26.05.2015
If you having problem with loading player's HP check this out:
Код:
new Float: HP;
GetPlayerHealth(playerid, HP);
printf("Health: %f", HP); // You have to save the HP in your database (float type) then load it correct as float too.
What Vince said is correct, you are wrong somewhere in loading or saving or setting or getting player's HP.
Re: ReksThePotato Help thread -
ReksThePotato - 01.06.2015
So heres another good question. If i wanted to make a faction such as the LSPD or FBI. Would i make that the same way id make an admin group?
AW: Re: ReksThePotato Help thread -
Kaliber - 01.06.2015
Quote:
Originally Posted by ReksThePotato
So heres another good question. If i wanted to make a faction such as the LSPD or FBI. Would i make that the same way id make an admin group?
|
Actually....yes
Re: AW: Re: ReksThePotato Help thread -
ReksThePotato - 01.06.2015
Quote:
Originally Posted by Kaliber
Actually....yes 
|
is that sarcasm or is that a real answer?
Re: ReksThePotato Help thread -
SickAttack - 02.06.2015
Quote:
Originally Posted by ReksThePotato
So heres another good question. If i wanted to make a faction such as the LSPD or FBI. Would i make that the same way id make an admin group?
|
If you want, or you could make another array, which is dedicated to factions only.
Re: ReksThePotato Help thread -
ReksThePotato - 05.06.2015
I have another question, this one a bit akward to explain.
I wanna make gun material points yea? But i want the points to change every 24H. Say, checkpoint is behind a restaurant, and i want it to change the next day to another designated location. is that possible?
Re: ReksThePotato Help thread -
[KHK]Khalid - 05.06.2015
Next day? Ingame day? Anyway, it's quite possible; check out these functions:
https://sampwiki.blast.hk/wiki/Gettime
https://sampwiki.blast.hk/wiki/Getdate
Re: ReksThePotato Help thread -
ReksThePotato - 07.06.2015
Another question rises!
What includes would i need to make a faction in an RP script?