26.12.2011, 17:47
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.
I get
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);
}
}
}
Код:
C:\Users\machine\Desktop\PCRPbeta\gamemodes\pcrp.pwn(17644) : error 035: argument type mismatch (argument 2)