Speed cam
#10

Ahh, so I must make a variable and use it like this: giveplayermoney(playerid,finalspeed_int*2)?

EDIT:
pawn Код:
if(dialogid == DIALOG_PAYME)
    {
        if(!response)
        {
            new name[MAX_PLAYER_NAME], string[128];
            GetPlayerName(playerid, name, sizeof(name));
            format(string, sizeof(string), "%s(%d) has ignored their ticket for driving to fast. Get that idiot!",name,playerid);
            SendClientMessageToAllCops(string);
            SendClientMessage(playerid,COLOR_ORANGE,"You have ignored your ticket, and your wanted level has increased by 2!");
           
            SetPlayerWantedLevel(playerid, GetPlayerWantedLevel(playerid) + 2);
        }
        else
        {
            SendClientMessage(playerid,COLOR_SEXYGREEN,"You have paid your ticket!");
            GivePlayerMoney(playerid,finalspeed_int[playerid]*2);
        }
    }
I get the message, but the money doesn't change :/
Reply


Messages In This Thread
Problem 1 solved, problem 2 not - by knackworst - 10.09.2011, 16:28
Re: Speed cam - by Max_Coldheart - 10.09.2011, 16:51
Re: Speed cam - by knackworst - 10.09.2011, 17:07
Re: Speed cam - by Max_Coldheart - 10.09.2011, 17:11
Re: Speed cam - by knackworst - 10.09.2011, 20:07
Re: Speed cam - by andrew4699 - 10.09.2011, 21:55
Re: Speed cam - by knackworst - 10.09.2011, 22:03
Re: Speed cam - by knackworst - 11.09.2011, 00:30
Re: Speed cam - by =WoR=Varth - 11.09.2011, 06:35
Re: Speed cam - by knackworst - 11.09.2011, 11:30

Forum Jump:


Users browsing this thread: 4 Guest(s)