17.06.2011, 12:44
pawn Код:
new Float:x, Float:y, Float:z;
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/stunt", cmdtext, true, 10) == 0)
{
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, -1114.1460, 378.5243, 14.1484);
SetPlayerInterior(playerid, 0);
SetPlayerVirtualWorld(playerid,12);
SendClientMessage(playerid, -1,""#COL_WHITE"Sekarang Anda Telah Memasuki "#COL_RED"/stunt");
}
if (strcmp("/back", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, x, y, z);
}
return 1;