27.02.2010, 18:25
pawn Код:
CMD:teleport(playerid, params[])
{
new teleportlocation[50];
if(sscanf(params, "s", teleportlocation)) return SendClientMessage(playerid, COLOR, "Usage: /teleport [location]");
else if(strcmp(teleportlocation, "help") == 0 || strcmp(teleportlocation, "00") == 0)
{
// error message
}
else if(strcmp(teleportlocation, "names") == 0)
{
// and so on
}
return 1;
}