בזמן האחרון יש לי תמיד בעיות בCOMPLIE....
הוא תמיד נותן לי ארורים לTMP STRTOK וCMD שהם לא מוגדרים, גם אם הם כן.... וזה ככה בכל מערכת.
מישהו יכול לעזור לי?
אם יותר נוח לכם אז במסן.... [email protected]
בזמן האחרון יש לי תמיד בעיות בCOMPLIE....
הוא תמיד נותן לי ארורים לTMP STRTOK וCMD שהם לא מוגדרים, גם אם הם כן.... וזה ככה בכל מערכת.
מישהו יכול לעזור לי?
אם יותר נוח לכם אז במסן.... [email protected]
אם אין לך אז:
new tmp[256], new cmd[256];
ואם יש לך ויש בעיה עם הstrtok כנראה אין לך את הstock הזה.
אבל אחי זה לא רק במוד שלי.... זה בכל מערכת או מוד שאני מוריד...
אתה יכול לתת רגע את האירורס שזה נותן לך?
xסתם דוגמא מהמערכת נשקים של רועי -
PHP Code:C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(22) : error 017: undefined symbol "ret_memcpy"
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(118) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(118) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(166) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(166) : error 033: array must be indexed (variable "Var_Commands")
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(199) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(199) : error 033: array must be indexed (variable "Var_Commands")
C:\Documents and Settings\Userr\Desktop\SAMP SERVER DM\filterscripts\WeaponSystem.pwn(116) : warning 203: symbol is never used: "idx"
פשוט תימחוק
מה הסיכוי שחסר לך אינקלוד?
לא ראיתי כאלה אירורים..
תלחץ את הקבצים מהתיקייה הזאת לתיקייה pawno\include זה ישאל אותך אם להחליף תעשה כן להכל.
http://www.f2h.co.il/1588281047
הגדרת Var_Command כמו שזה צריך ושייך לstrtock ?
מה אני יגיד לך yes
מה זה מה אני יגיד לך? איך אתה רוצה שאני יעזור לך?
אתה צריך את הפונקצייה של strtock + להגדיר את var commands.
כנראה מחקת משהוא :S
PHP Code:new Var_Commands[256];
Var_Commands = strtok(idx,cmdtext);