07.12.2009, 03:05
i have this code but when i go to the place nothing happens
also this is some warning that i think might not help
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(266) : warning 235: public function lacks forward declaration (symbol "Resetter")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(274) : warning 235: public function lacks forward declaration (symbol "PlayerToPoint")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(289) : warning 235: public function lacks forward declaration (symbol "playercheck")
Код:
public playercheck(playerid)
{
if (PlayerToPoint(6.0, playerid,2220.5750,808.9727,37.2171))
{
if (ifplayerenterhf[playerid]== 1)
{
SendClientMessage(playerid,0xDEEE20FF, "You Have To Wait 2 days");
}
else
{
GivePlayerMoney(playerid, 500000);
SetTimer("Resetter", 172800000, 0);// 2 days
SendClientMessage(playerid,0xDEEE20FF, "You GOT HALF A MILL OMG WOW ..... now wait 2 days Ha Ha ");
ifplayerenterhf[playerid] = 1;
}
}
return 1;
}
also this is some warning that i think might not help
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(266) : warning 235: public function lacks forward declaration (symbol "Resetter")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(274) : warning 235: public function lacks forward declaration (symbol "PlayerToPoint")
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SM.pwn(289) : warning 235: public function lacks forward declaration (symbol "playercheck")

