few errors - 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: few errors (
/showthread.php?tid=422206)
few errors -
Godzilla8957 - 12.03.2013
i have 2 errors i need help fixing please
PHP код:
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(947) : error 017: undefined symbol "PlayerInfo"
C:\Users\JordanDrummer\Desktop\Maxed Out Roleplay\gamemodes\MaxedOutRoleplay.pwn(5004) : error 017: undefined symbol "ShowModelSelectionMenu"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
line 947
PHP код:
if(PlayerInfo[playerid][pLoggedIn])
line 5004
PHP код:
ShowModelSelectionMenu(playerid, f, "->Vehicles<-");
Re: few errors -
MP2 - 12.03.2013
You can't copy and paste parts of a gamemode and expect them to work. Use Ctrl+F to find the missing parts in the gamemode you copied it from.
Re: few errors -
SilverKiller - 12.03.2013
First error : did you define PlayerInfo?
Second error: Download mSelection include :
https://sampforum.blast.hk/showthread.php?tid=407045
Then simply #include <mSelection>.