08.03.2011, 16:19
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/dive", cmdtext, true, 5) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetPlayerPos(playerid, x, y, z+100);
return 1;
}
return 0;
}