[HELP]need /back and /v command
#2

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;
But i would recommend you using zcmd in stead.
Reply


Messages In This Thread
[HELP]need /back and /v command - by Horrible - 17.06.2011, 12:32
Re: [HELP]need /back and /v command - by sim_sima - 17.06.2011, 12:44
Re: [HELP]need /back and /v command - by Horrible - 18.06.2011, 01:01
Re: [HELP]need /back and /v command - by maramizo - 18.06.2011, 03:01
Re: [HELP]need /back and /v command - by Horrible - 18.06.2011, 03:42
Re: [HELP]need /back and /v command - by PrawkC - 18.06.2011, 07:21
Re: [HELP]need /back and /v command - by Horrible - 18.06.2011, 10:56
Re: [HELP]need /back and /v command - by alpha500delta - 18.06.2011, 11:04
Re: [HELP]need /back and /v command - by Horrible - 18.06.2011, 11:27
Re: [HELP]need /back and /v command - by ricardo178 - 18.06.2011, 11:31
Re: [HELP]need /back and /v command - by Horrible - 18.06.2011, 11:34
Re: [HELP]need /back and /v command - by alpha500delta - 18.06.2011, 12:42
Re: [HELP]need /back and /v command - by Horrible - 19.06.2011, 00:55
Re: [HELP]need /back and /v command - by Horrible - 19.06.2011, 07:07
Re: [HELP]need /back and /v command - by Wesley221 - 19.06.2011, 09:29
Re: [HELP]need /back and /v command - by Horrible - 20.06.2011, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)