A few questions.
#2

Heal Player.

public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp("/heal", cmdtext, true))//healing player for $200 bucks
{
SetPlayerHealth(playerid, 100);
GivePlayerMoney(playerid, -200);
return 1;
}
return 0;
}

A working tele to Mount Chilliad.

SetPlayerPos(playerid, -2238.0281,-1712.7245,480.8676);
SetPlayerFacingAngle(playerid,28.2521);
SetCameraBehindPlayer(playerid);
GameTextForPlayer(playerid,"~r~Welcome to~w~~n~mount chilliad",5000,3);


Peace...
Reply


Messages In This Thread
A few questions. - by Oglevempire - 11.02.2011, 04:59
Re: A few questions. - by Stigg - 11.02.2011, 05:49

Forum Jump:


Users browsing this thread: 1 Guest(s)