Mapping
#1

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
Reply
#2

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.
Reply
#3

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" 
Reply
#4

Use the script playerid, or something like "p" for playerid?
Reply
#5

Don't worry about the streamer. Put the RemoveBuildingForPlayer lines under OnPlayerConnect.
Reply
#6

It need look like this?
PHP код:
RemoveBuildingForPlayer(playerid); 
Reply
#7

Add it like this:

Quote:

RemoveBuildingForPlayer(playerid, 625, 1505.6953, -1654.8359, 13.6953, 0.25);

under "OnGamemodeInit".
Reply
#8

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 217loose 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 017undefined symbol "playerid" 
Anyway that error.
Reply
#9

Nothing from this helps.
Reply
#10

The RemoveBuildingForPlayer must be placed under OnPlayerConnect, not under OnGameModeInit!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)