GameTextForPlayer OnPlayerCommandText
#1

I want to send a message to whoever types /hydradm



if(strcmp(cmd, "/hydradm", true) == 0) {
GameTextForPlayer(playerid,"~r~Hydra ~g~Battlefield ",5000,5);
SetPlayerPos(playerid,8108.185546875,-1643.4208984375,3905);
return 1;
}



I don't get any error, but it doesn't appear any message when i try it on my server! the teleport works though.

Reply
#2

pawn Код:
if(strcmp(cmd, "/hydradm", true) == 0)
{
  GameTextForPlayer(playerid,"~r~Hydra ~g~Battlefield ",3000,5);
  SetPlayerPos(playerid,8108.185546875,-1643.4208984375,3905);
  return 1;
}
Nothing seems wrong in this command
Reply
#3

Yes, but nope. When i teleport there it should appear the big writing "Hydra Battlefield", but it doesn't.
Reply
#4

Maybe there's another gametext running?
Reply
#5

No there isn't any other gametext running...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)