SA-MP Forums Archive
argument 2 +rep pls help me I'm new with pwn... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: argument 2 +rep pls help me I'm new with pwn... (/showthread.php?tid=323278)



argument 2 +rep pls help me I'm new with pwn... - Scrillex - 05.03.2012

Код:
stock ReturnPlayerZone(playerid)
{
	new playerzone[256] = "Unknown";
	for(new j; j < sizeof(zones); j++) {
		if(IsPlayerInZone(playerid,j)) {//this line
			memcpy(playerzone, zones[j][zone_name], 0, 108);
			break;
		}
	}
    return playerzone;
}
Код:
error 035: argument type mismatch (argument 2)
Please some one help me out... And if you can please say how argument works and why there is error on that line.. Of course if you have time Thank you all for your time


AW: argument 2 +rep pls help me I'm new with pwn... - Scrillex - 05.03.2012

Pease Some One help me out... It's really needed...


Re: argument 2 +rep pls help me I'm new with pwn... - Konstantinos - 05.03.2012

Can we see the stock about IsPlayerInZone, please.