SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 09/11/2012, 02:00 AM   #1
Alyster
Little Clucker
 
Join Date: Dec 2010
Posts: 26
Reputation: 2
Default OnGameModeInit Help

I've just created an interior with SAMP Map Constrution and I've removed some items. Once I move the code to pawno, I'm unable to compile it because I get errors and I don't know how to fix them.

Here is my script if anyone is able to help:

PHP Code:
RemoveBuildingForPlayer(playerid1806213.2891182.42191002.02340.25);
RemoveBuildingForPlayer(playerid2185213.7578181.78131002.01560.25);
RemoveBuildingForPlayer(playerid1722231.6172178.35941002.02340.25);
RemoveBuildingForPlayer(playerid1722231.6172179.67191002.02340.25);
RemoveBuildingForPlayer(playerid1722231.6172179.02341002.02340.25); 
Here are the error messages I get:

Code:
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
error 017: undefined symbol "playerid"
Alyster is offline   Reply With Quote
Old 09/11/2012, 02:01 AM   #2
Glad2BeHere
Gangsta
 
Glad2BeHere's Avatar
 
Join Date: Oct 2012
Posts: 759
Reputation: 136
Default Re: OnGameModeInit Help

put that under onplayerconnect
Glad2BeHere is offline   Reply With Quote
Old 09/11/2012, 03:15 AM   #3
Alyster
Little Clucker
 
Join Date: Dec 2010
Posts: 26
Reputation: 2
Default Re: OnGameModeInit Help

Thank you
Alyster is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OnGameModeInit SpankMe2 Scripting Help 6 13/02/2012 12:56 PM
OnGameModeInit Scarface~ Help Archive 1 29/08/2010 12:43 PM
ongamemodeinit iStarzz Help Archive 2 15/06/2010 02:22 PM
[HELP] OnGameModeInit Camacorn Help Archive 4 25/11/2009 02:21 PM


All times are GMT. The time now is 11:17 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.