04.09.2010, 11:52
okden
i started a vip script
but i get
C:\Users\Desktop\DeathRace0.3b\gamemodes\viptest.p wn(61) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
but it does?
but anyhoo thats that tbf
i started a vip script
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
if(Donator[playerid]==1)
{
SendClientMessage(playerid,COLOR_RED,"lol");
return 1;
}
return 0;
}
}
C:\Users\Desktop\DeathRace0.3b\gamemodes\viptest.p wn(61) : warning 209: function "OnPlayerCommandText" should return a value
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
but it does?
but anyhoo thats that tbf