07.02.2012, 11:10
Well, I scripted something but I havent succed!
Can anyone tell me how to script that damn door? Its when cops go to garage
Can anyone tell me how to script that damn door? Its when cops go to garage
Ricardo - Thanks, I am beginer scripter, so I need help.! btw, Thanks :d
|
if (strcmp("/enter", cmdtext, true, 6) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, r, x,y,z)) // Change the X Y Z to TheCo-ordinates where you type /enter and R to the Range
{
SetPlayerPos(playerid,x,y,z); // Change the X Y Z to the place where you get TP'ed to
SetPlayerInterior(playerid,No,); // Change No, to the Interior ID you want
GameTextForPlayer(playerid, "~w~PD", 5000, 1); // Change PD to the place where he get Tp'ed to name
SetCameraBehindPlayer(playerid);
return 1;
}