13.04.2009, 12:53
[quote=[KML]Dabug ]
[PAWN]
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
MoveObject(976, 0, 0, 10, 2.00 );
return 1;
}
if (strcmp("/nameoff", cmdtext, true, 10) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
}
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
return 0;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}
[PAWN]
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/moveobject", true) == 0)
{
MoveObject(976, 0, 0, 10, 2.00 );
return 1;
}
if (strcmp("/nameoff", cmdtext, true, 10) == 0)
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
ShowPlayerNameTagForPlayer(playerid, i, false);
}
GameTextForPlayer(playerid, "~W~Nametags ~R~off", 5000, 5);
return 1;
}
return 0;
}
public OnPlayerInfoChange(playerid)
{
return 1;
}