14.01.2009, 17:21
nice map but where must i put this thing ? ::::::::::::::::::
----------------[color=purple]Option 1 :/color] ------------------------------
// loopj
if(strcmp(cmdtext, "/loopj", true)==0)
{
SetPlayerPos(playerid, 3555.1209, 3612.2852, 1168.8036);
return 1;
-------------Option 2---------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/loopj", cmdtext, true, 10) == 0) {
SetPlayerPos(playerid,3555.1209, 3612.2852, 1168.8036);
SendClientMessage(playerid,COLOR_RED,"welcome to loopj");
ResetPlayerWeapons(playerid);
return 1;------------------------------------------------------------
i know that teleports but this :S ??
----------------[color=purple]Option 1 :/color] ------------------------------
// loopj
if(strcmp(cmdtext, "/loopj", true)==0)
{
SetPlayerPos(playerid, 3555.1209, 3612.2852, 1168.8036);
return 1;
-------------Option 2---------------
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/loopj", cmdtext, true, 10) == 0) {
SetPlayerPos(playerid,3555.1209, 3612.2852, 1168.8036);
SendClientMessage(playerid,COLOR_RED,"welcome to loopj");
ResetPlayerWeapons(playerid);
return 1;------------------------------------------------------------
i know that teleports but this :S ??