Hello i have 4 errors on one line
#1

Errors:
Код:
(71475) : error 017: undefined symbol "foreach"
(71475) : error 029: invalid expression, assumed zero
(71475) : error 017: undefined symbol "Player"
(71475) : fatal error 107: too many error messages on one line
Line:
Код:
foreach(new i: Player) if(GetPlayerVehicleID(i) != 0 && GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid)) {
Reply
#2

Bump
Reply
#3

At the top.
pawn Код:
#include <foreach>
Replace your line with this.
pawn Код:
foreach(new i: playerid) if(GetPlayerVehicleID(i) != 0 && GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid));
Reply
#4

Quote:
Originally Posted by Cxnnor
Посмотреть сообщение
At the top.
pawn Код:
#include <foreach>
Replace your line with this.
pawn Код:
foreach(new i: playerid) if(GetPlayerVehicleID(i) != 0 && GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid));
Its make the progrem not response..
Reply
#5

download latest includes
Reply
#6

Quote:
Originally Posted by LaGrande
Посмотреть сообщение
download latest includes
Its stay... please!! i so need it please help me
Reply
#7

Show your includes and the complete callback related to the line with errors.
Reply
#8

So what to do? oh alright, i do it and its stay do it [ not response ]
How i do the code:
Код HTML:
foreach(new i: playerid)
if(GetPlayerVehicleID(i) != 0 && GetPlayerVehicleID(i) == GetPlayerVehicleID(playerid)) {
And now its give me errors [with the YSI i think i don't know]
Errors:
Код:
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(71475) : error 017: undefined symbol "playerid@YSII_Ag"
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(71475) : error 017: undefined symbol "playerid@YSII_Ag"
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(71475) : error 029: invalid expression, assumed zero
C:\Users\user\Desktop\Server\gamemodes\CGRP.pwn(71475) : fatal error 107: too many error messages on one line
Line:
Код HTML:
foreach(new i: playerid)
Reply
#9

Quote:
Originally Posted by ******
Посмотреть сообщение
Player, not playerid - text and case are important.
Thanks and new errors:
Код:
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
error 017: undefined symbol "PlayAudioStreamForPlayerEx"
Reply
#10

Quote:
Originally Posted by xRotem
Посмотреть сообщение
Its make the progrem not response..
Lol then just wait >.<
Then u not gonna get any errors.
When its doesnt respone i waiting...
To it response and then i not get any error...
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)