Funktion only for 1 player?
#1

hi there!
I've created just a simple funktion but why this only run for one player? here the (example script)
pawn Код:
forward TEST(playerid);
pawn Код:
SetTimer("TEST", 1000, true);// its in OnGameModeInit()
pawn Код:
public TEST(playerid)
{
SendClientMessage(playerid, COLOR_LILA, "xxx");
return 1;
}

Reply
#2

Use SetTimerEx-function, you can pass parameters to the function.
Reply
#3

thanks for the answer its a good idea but i've just took a loop for it lol
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)