warning 202: number of arguments does not match definition
#1

Hello guys, I have a probelm with this.

Script.
Код:
forward PayDay(playerid);
public PayDay(playerid)
{
   new m;
   if(gettime(m) == 00)
   {
       for(new i; i < MAX_PLAYERS; i++)
       {
           if(IsPlayerConnected(i))
           {
               GameTextForPlayer(i, "~g~Payday", 5000);             LINE 119
               SendClientMessage(i, COLOR_WHITE, "Payday has arrived");
               GivePlayerMoney(i, GetPlayerMoney(i) * 20 / 100); // Ii va da 20% din banii pe care ii are.
           }
       }
   }
   return 1;
}
Error:
Код:
(119) : warning 202: number of arguments does not match definition
Reply
#2

https://sampwiki.blast.hk/wiki/GameTextForPlayer
GameTextForPlayer(playerid, const string[], time, style)
Reply
#3

Quote:
Originally Posted by Meller
Посмотреть сообщение
https://sampwiki.blast.hk/wiki/GameTextForPlayer
GameTextForPlayer(playerid, const string[], time, style)
Thanks!
Reply
#4

Is it that hard to look up the wiki? Use the search function.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)