SA-MP Forums Archive
health is 10% and all is grey when spawn - 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: health is 10% and all is grey when spawn (/showthread.php?tid=73653)



health is 10% and all is grey when spawn - krisis32 - 16.04.2009

when i spawn i have like 10% of health and i see all grey... i do /kill and then i see all cars and objects but my health is 10%


Re: health is 10% and all is grey when spawn - OmeRinG - 16.04.2009

what the...?


Re: health is 10% and all is grey when spawn - miokie - 16.04.2009

On spawn SetPlayerInterior and set the interior to where you spawn... that solves the grey-ness.


Re: health is 10% and all is grey when spawn - krisis32 - 17.04.2009

i spawn in LSPD garage .... before a week all was oky.. but now i have this problem!


Re: health is 10% and all is grey when spawn - kymsar - 17.04.2009

check OnPlayerSpawn
and put
SetPlayerInterior(playerid,(interior id))


Re: health is 10% and all is grey when spawn - 56avenue - 17.04.2009

Quote:
Originally Posted by kymsar
check OnPlayerSpawn
and put
SetPlayerInterior(playerid,(interior id))
What...
It's SetPlayerInterior(playerid,INTERIORID);


Re: health is 10% and all is grey when spawn - krisis32 - 17.04.2009

what if i have civils... and cops.. civils spawn in jeff motel... and cops in LSPD Garage.. LSPD garage is 0.. jeff wuz 5.... how do i put under
OnPlayerSpawn ?

SetPlayerInterior(playerid,0);
SetPlayerInterior(playerid,5);

?

And why when i spawn i have 10% of hp?


Re: health is 10% and all is grey when spawn - krisis32 - 17.04.2009

i realy need help!


Re: health is 10% and all is grey when spawn - krisis32 - 17.04.2009

any ideas


Re: health is 10% and all is grey when spawn - OmeRinG - 17.04.2009

just do SetPlayerInterior(playerid,0);...