19.03.2010, 07:46
Quote:
|
public OnPlayerCommandText(playerid, cmdtext[]) { if (strcmp("/adminship", cmdtext, true, 10) == 0) { IsPlayerAdmin(playerid) ; { SetPlayerPos(playerid, 3203.9760,-1472.5383,16.6099); SendClientMessage(playerid, COLOR_GREEN, "Welcome to Admin Ship!"); return 1; } return 0; |
Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/adminsship", cmdtext, true, 10) == 0)
{
if(IsPlayerAdmin(playerid))
{
SetPlayerPos(playerid, 3203.9760,-1472.5383,16.6099);
SendClientMessage(playerid, COLOR_GREEN, "Welcome to Admins Ship!");
}
return 1;
}
return 0;

