Mapping - 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: Mapping (
/showthread.php?tid=410140)
Mapping -
FaZeRs - 24.01.2013
I tryed to put
https://sampforum.blast.hk/showthread.php?tid=316054 this map on Raven's RolePlay.
First i got error like it dont know
playerid.
I removed all playerid in RemoveBuildingForPlayer and got.
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(24156) : warning 217: loose indentation
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(24156) : warning 213: tag mismatch
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(24156) : warning 202: number of arguments does not match definition
AW: Mapping -
Blackazur - 24.01.2013
Try to use an Streamer, and that are just Warnings, you can ignore them like "loose indentitation", but you should give us the Line, whence you have this Warnings.
Re: Mapping -
FaZeRs - 24.01.2013
i putted newest streamer and got.
PHP код:
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(24156) : error 017: undefined symbol "playerid"
AW: Mapping -
Blackazur - 24.01.2013
Use the script playerid, or something like "p" for playerid?
Re: Mapping -
SuperViper - 24.01.2013
Don't worry about the streamer. Put the
RemoveBuildingForPlayer lines under
OnPlayerConnect.
Re: Mapping -
FaZeRs - 24.01.2013
It need look like this?
PHP код:
RemoveBuildingForPlayer(playerid);
AW: Mapping -
Blackazur - 24.01.2013
Add it like this:
Quote:
RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);
|
under "OnGamemodeInit".
Re: Mapping -
FaZeRs - 24.01.2013
PHP код:
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(5082) : warning 217: loose indentation
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(5096) : warning 217: loose indentation
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(20266) : warning 217: loose indentation
C:\Documents and Settings\Nauris\Desktop\Raven's Roleplay 0.3e ENG Version 1.2\gamemodes\larp.pwn(20266) : error 017: undefined symbol "playerid"
Anyway that error.
Re: Mapping -
FaZeRs - 24.01.2013
Nothing from this helps.
Re: Mapping -
DiGiTaL_AnGeL - 24.01.2013
The
RemoveBuildingForPlayer must be placed under
OnPlayerConnect, not under
OnGameModeInit!