Random Spawns
#6

Quote:
Originally Posted by IceMeteor
Посмотреть сообщение
How can we know if the player is a cop or not?
By the skin id.

Anyway I fixed it.
Thanks to HellSphinX.
I changed his stock to this:

Код:
stock IsPlayerACop(playerid)
{
    if(GetPlayerSkin(playerid == 266+265+283+284+285))
    	return 1; // true

    return 0; // false
}
+Repped HellSphinX for giving me a clue and fixing half of the problem.
Reply


Messages In This Thread
Random Spawns - by Captain_Mani - 08.08.2012, 08:51
Re: Random Spawns - by [KHK]Khalid - 08.08.2012, 09:00
Re: Random Spawns - by Youice - 08.08.2012, 09:05
Re: Random Spawns - by Captain_Mani - 08.08.2012, 10:37
Re: Random Spawns - by IceMeteor - 08.08.2012, 10:43
Re: Random Spawns - by Captain_Mani - 08.08.2012, 10:46
Re: Random Spawns - by IceMeteor - 08.08.2012, 10:49
Re: Random Spawns - by [MM]RoXoR[FS] - 08.08.2012, 10:51
Re: Random Spawns - by Captain_Mani - 08.08.2012, 11:40
Re: Random Spawns - by Vince - 08.08.2012, 11:56

Forum Jump:


Users browsing this thread: 1 Guest(s)