22.01.2011, 10:04
heyo people Im getting these Two errors:
For this Script ---
And Please Comment if you need the array to work with
Код:
C:\Program Files\SAMP\SAMP\SAMP\gamemodes\RP10.pwn(329) : error 035: argument type mismatch (argument 1) C:\Program Files\SAMP\SAMP\SAMP\gamemodes\RP10.pwn(329) : error 035: argument type mismatch (argument 1)
Код:
if(strcmp(cmdtext, "/fishing", true) == 0)
{
if(IsPlayerInRangeOfPoint(playerid, 6, 2359.5322,526.1093,1.7969))
{
new str[128];
new rand = random(sizeof(fish));
GetPlayerName(playerid, str, sizeof(str));
format(sizeof(str), sizeof(fish), "%s Has Caught a %s", string, string);
SendClientMessageToAll(0xFFFFFFAA, str);
}
return 1;
}


