argument type mismatch (argument 2)
#1

I'm creating a function that sends a message to people within the taxi job.

I already have Taxijob done and that works but I want to create a radio for them, and the sendtaximessage is needed.

pawn Код:
forward SendTaxiMessage(color, stringz)

public SendTaxiMessage(color, stringz[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(Taxijob[i] == 1)
    {
        SendClientMessage(color, stringz);
    }
}
}
I get

Код:
 C:\Users\machine\Desktop\PCRPbeta\gamemodes\pcrp.pwn(17644) : error 035: argument type mismatch (argument 2)
Reply


Messages In This Thread
argument type mismatch (argument 2) - by vincee - 26.12.2011, 17:47
Re: argument type mismatch (argument 2) - by jamiesage123 - 26.12.2011, 17:53
Re: argument type mismatch (argument 2) - by [Diablo] - 26.12.2011, 17:53
Re: argument type mismatch (argument 2) - by vincee - 26.12.2011, 18:25
Re: argument type mismatch (argument 2) - by vincee - 26.12.2011, 18:28
Re: argument type mismatch (argument 2) - by =WoR=G4M3Ov3r - 26.12.2011, 18:39
Re: argument type mismatch (argument 2) - by Las Venturas CNR - 26.12.2011, 19:37
Re: argument type mismatch (argument 2) - by =WoR=G4M3Ov3r - 26.12.2011, 20:18
AW: argument type mismatch (argument 2) - by BigETI - 26.12.2011, 20:30

Forum Jump:


Users browsing this thread: 1 Guest(s)