SA-MP Forums Archive
Some Problems - 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: Some Problems (/showthread.php?tid=384464)



Some Problems - Opah - 12.10.2012

i have these probs

Quote:

C:\Users\George\Desktop\testreg.pwn(234) : error 017: undefined symbol "PInfo"
C:\Users\George\Desktop\testreg.pwn(234) : warning 215: expression has no effect
C:\Users\George\Desktop\testreg.pwn(234) : error 001: expected token: ";", but found "]"
C:\Users\George\Desktop\testreg.pwn(234) : error 029: invalid expression, assumed zero
C:\Users\George\Desktop\testreg.pwn(234) : fatal error 107: too many error messages on one line

in this piece of code
pawn Код:
225    forward time(playerid);
226    public time(playerid)
227    {
228        pInfo[playerid][Sec]++;
229        if(pInfo[playerid][Sec]>=60)
230       {
231        pInfo[playerid][Sec]=0;
232        pInfo[playerid][Min]++;
233        }
234         if(PInfo[playerid][Min]>=60)
235        {
236         pInfo[playerid][Min]=0;
237         pInfo[playerid][Hour]++;
238        }
239        return 1;
240    }



Re: Some Problems - Azazelo - 12.10.2012

Quote:

if(PInfo[playerid][Min]>=60)

if(pInfo[playerid][Min]>=60) //pawno is chase sensitive

My 100 post


Re: Some Problems - Opah - 12.10.2012

Thanx
v.little typo problem