Onplayerspawn Problem
#1

Код:
if(PlayerData[playerid][Prison] == 1)
  {
  	new playa;
	playa = strvalEx(tmp);
  GetPlayerName(playa, giveplayer, sizeof(giveplayer));
  GameTextForPlayer(playa, "~r~Back to Admin Jail", 3000, 3);
  SendClientMessage(playerid, RED, "AdminMessage: Remember you never can escape from this Admin Jail, wait till your time ends.");
  format(string,sizeof(string),"AdminMessage: %s has been jailed automatically, he has not served his time.",giveplayer);
	SendClientMessageToAll(RED,string);
	SetPlayerInterior(playerid,6);
	SetPlayerPos(playerid,264.6288,77.5742,1001.0391);
	}
Hi this code is saved if u jail you are prison 1 and if u /q and come back it saves it but if I spawn this command wont work its on onplayerspawn it does not show even the messages any ideas ?
Reply


Messages In This Thread
Onplayerspawn Problem - by Erkan - 07.09.2009, 21:08
Re: Onplayerspawn Problem - by Erkan - 07.09.2009, 21:33
Re: Onplayerspawn Problem - by x-cutter - 08.09.2009, 01:22
Re: Onplayerspawn Problem - by Erkan - 08.09.2009, 20:54
Re: Onplayerspawn Problem - by Erkan - 09.09.2009, 11:43

Forum Jump:


Users browsing this thread: 3 Guest(s)