help with this please
#6

lol u cant just write /enter
U have to write ur code there.
E.g. a SetPlayerPos(); command for teleporting a player into another interior.

pawn Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(newkeys & KEY_JUMP)
{
SetPlayerPos(playerid,x,y,z);
SetPlayerInterior(playerid,YOUR_ID_HERE);
SendClientMessage(playerid,COLOUR,"You've been teleported into a building using the JumpKey");
}
return 1;
}
Just put the code u have in the /enter command into this function
Reply


Messages In This Thread
help with this please - by StyleR - 16.01.2011, 19:39
Re: help with this please - by hanzen - 16.01.2011, 19:42
Re: help with this please - by StyleR - 16.01.2011, 19:44
Re: help with this please - by hanzen - 16.01.2011, 19:45
Re: help with this please - by StyleR - 16.01.2011, 20:11
Re: help with this please - by BlackWolf120 - 16.01.2011, 20:19
Re: help with this please - by StyleR - 16.01.2011, 20:36
Re: help with this please - by BlackWolf120 - 16.01.2011, 20:44
Re: help with this please - by StyleR - 16.01.2011, 20:49
Re: help with this please - by StyleR - 16.01.2011, 20:51

Forum Jump:


Users browsing this thread: 2 Guest(s)