only a test
public text v1 · immutablepublic OnPlayerCommandText(playerid, cmdtext[])
{
new cmd[256];
new idx;
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, "/teleport", true) == 0)
{
SetPlayerPos(playerid, 6584.6845, 6845.6845, 8645.546);
SendClientMessage(playerid, COLOR_RED, "Hello!");
return 1;
}
return 1;
}