SA-MP Forums Archive
Unknown error [Rep+] - 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: Unknown error [Rep+] (/showthread.php?tid=306293)



Unknown error [Rep+] - seanny - 26.12.2011

Hello, I have been getting this error for a while, I tried editing the skins to 0.3D skins with normal skins but It keeps getting an error.

Код:
C:\Users\sean mcelholm\Desktop\SAN-RP Scripting - PRIVATE\gamemodes\san-rp.pwn(15628) : error 029: invalid expression, assumed zero

Copyright © 1997-2006, ITB CompuPhase


1 Error.
pawn Код:
for(new i = 0; i <= sizeof(PedSkins)-1; i++)
{
    AddPlayerClass(PedSkins[][],982.1890,-1624.2583,14.952,90,-1,-1,-1,-1,-1,-1);
}



Re: Unknown error [Rep+] - jamesbond007 - 26.12.2011

pawn Код:
for(new i = 0; i <= sizeof(PedSkins)-1; i++)
{
    AddPlayerClass(PedSkins[i],982.1890,-1624.2583,14.952,90,-1,-1,-1,-1,-1,-1);
}