14.10.2009, 19:23
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/da", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid, 2075.3584,1312.7797,10.6719);
SetPlayerInterior(playerid, 0);
}
if (strcmp("/teles", cmdtext, true, 10) ==0)
{
SendClientMessage(playerid,COLOR,"/da-Desert Airstrip terror");
}
return 0;
}
You wrote SendClientMassage,It's supposed to be SendClientMessage.
I Fixed a lot of other errors you had.