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
#2

any one?
Reply
#3

We would need to see the whole spawn command... cause it's probably caused by something outside this piece of code
Reply
#4

It works in my gamemode, but in the streetz gamemode it does not work something fucks up this command and out Tutorial.
Reply
#5

Does no one know how to fix this like making with x,y,z please?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)