25.03.2019, 14:44
I'm doing real estate and somehow I can't fix this how?
PHP код:
OnDialogResponse
new var1 = GetPlayerNehnutelnost(playerid);
new var2 = PlayerIDs(NehnutelnostInfo[var1][Owner]);
PHP код:
stock PlayerIDs(string) ///warning 203: symbol is never used: "string"
{
for(new g = 0; g < 70; g++)
{
if(IsPlayerConnected(g))
{
new name[24];
GetPlayerName(g, name, 24);
if(!strcmp(name, string, true)) /// error 035: argument type mismatch (argument 2)
{
return g;
}
}
}
return -1;
}