error 017: undefined symbol "playerid" - 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: error 017: undefined symbol "playerid" (
/showthread.php?tid=453562)
error 017: undefined symbol "playerid" -
ngumcutoi1999 - 25.07.2013
Код:
(712) : error 017: undefined symbol "playerid"
(714) : error 017: undefined symbol "playerid"
(717) : error 017: undefined symbol "playerid"
(719) : error 017: undefined symbol "playerid"
(724) : error 017: undefined symbol "playerid"
Код:
CMD:busroute(palyerid, params[])
{
if(IsAtBlueBusStop(playerid))
{
SendClientMessage(playerid, COLOR_TEAL, "A-1 Bus Route: East Beach - The Stadium - The Gym - The County General Hospital - Los Santos International Airport - Taxi Stand");
return 1;
}
else if(IsAtBlackBusStop(playerid))
{
SendClientMessage(playerid, COLOR_TEAL, "A-2 Bus Route: Taxi Stand - Police Department - The Bank - All Saints Hospital - Market Station - Santa Maria Beach");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not at any bus stop");
}
return 1;
}
Help me !
Re: error 017: undefined symbol "playerid" -
doreto - 25.07.2013
pawn Код:
CMD:busroute(playerid, params[])
{
if(IsAtBlueBusStop(playerid))
{
SendClientMessage(playerid, COLOR_TEAL, "A-1 Bus Route: East Beach - The Stadium - The Gym - The County General Hospital - Los Santos International Airport - Taxi Stand");
return 1;
}
else if(IsAtBlackBusStop(playerid))
{
SendClientMessage(playerid, COLOR_TEAL, "A-2 Bus Route: Taxi Stand - Police Department - The Bank - All Saints Hospital - Market Station - Santa Maria Beach");
return 1;
}
else
{
SendClientMessage(playerid, COLOR_RED, "You are not at any bus stop");
}
return 1;
}
Re: error 017: undefined symbol "playerid" -
ngumcutoi1999 - 25.07.2013
Sorry ! I do not see
Re: error 017: undefined symbol "playerid" -
Ceez - 25.07.2013
You wrote palyerid instead of playerid