Help !!!
#1

Here :
pawn Код:
forward SaveW(playerid);
public SaveW(playerid)
{
    for (new i = 0; i == 3; i++)
    {
        SendClientMessage(playerid, COLOR_WHITE, "Now Starting Again");
        if(player[playerid][W][i] != 0)
        {
            SendClientMessage(playerid, COLOR_WHITE, "ID Accepted");
            new ammo;
            new temp;
            GetPlayerWeaponData(playerid, player[playerid][W][i], temp, ammo);
            if(temp != player[playerid][W][i]) return 0;
            player[playerid][A][i] = ammo;
            SendClientMessage(playerid, COLOR_WHITE, "Now Should Work, xD");
        }
    }
    SavePlayer(playerid);
    return 1;
}
public OnPlayerSpawn(playerid)
{
    SetPlayerMapIcon(playerid, 0, 1483.4205,-1412.5730,11.8828, 18, COLOR_WHITE, 1);
    SetTimerEx("SaveW", 5000, true, "d", playerid);
    SendClientMessage(playerid, COLOR_WHITE, "Started.");
    return 1;
}
Why The Timer Isn't Working/Starting ?
Reply
#2

you need to make a Timer Forward ( i think maybe, Possible i might be worng ) :P
Try Creating a Timer with forward and public.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)