19.03.2010, 07:28
hey i was just wondering, since i made an admin villiage, how to make the teleport an admin only command?
heres what i got... for starters..
oh i dno how to do one of those box thingos coz im kinda noob at general stuff.. lol :P
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/adminship", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 3203.9760,-1472.5383,16.6099);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Admin Ship!");
return 1;
}
return 0;
heres what i got... for starters..
oh i dno how to do one of those box thingos coz im kinda noob at general stuff.. lol :P
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/adminship", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 3203.9760,-1472.5383,16.6099);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Admin Ship!");
return 1;
}
return 0;