Small Error - 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: Small Error (
/showthread.php?tid=528367)
Small Error -
GeekSiMo - 27.07.2014
anyone !?
Quote:
C:\Users\GeekSiMo\Desktop\Xtremies Server\gamemodes\GM.pwn(3907) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
|
Quote:
PlayerInfo[playerid][HitContract] = "Noone";
|
Re: Small Error -
Clad - 27.07.2014
pawn Код:
format( PlayerInfo[ playerid ][ HitContract ],28,"Noone");
Re: Small Error -
d3ll - 27.07.2014
Function might be useful:
pawn Код:
stock myStrcpy(dest[], src[]) //By Alex "******" Cole
{
new i = 0;
while ((dest[i] = src[i])) i++;
}
pawn Код:
myStrcpy(PlayerInfo[playerid][HitContract], "Noone");
Re: Small Error -
GeekSiMo - 27.07.2014
Thanks Alll !!!