Help -
Nenad - 07.07.2010
My friend edited this GM and it have 2 errors.Can somebody tell me how to fix it.The GM is Ravens Roleplay 2.6
Here is error:
C:\Documents and Settings\Nenad\My Documents\My Received Files\larp.pwn(3575) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Nenad\My Documents\My Received Files\larp.pwn(3575) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
And here is 5 lines up and down by the script:
"NEVER Cheat, Anticheat Will ban you if there aren't admins online!",
//"Do you wanna be a cop? Go to the LSPD, Open the Door and type /duty! You will receive Security Guard Rights!!",
"Saw a bug? Report it to the Scripters with /bug",
"ET-Roleplay Owners: Tom_Alps & Nenad_Ivanovic",
};
[this is the error line]
new RandomFemaleSkins[][] =
{
{9},{10},{11},{38},{39},{40},{54},{55},{56},{63},{ 64},{75},{76},{77},
{85},{87},{88},{90},{93},{131},{130},{138},{139},{ 141},{145},{148},{149},
{152},{157},{169},{172},{178},{190},{192},{193},{1 94},{199},{198},{201},
{207},{211},{215},{219},{225},{226},{233},{237},{2 44},{246},{251},{257},
{263}
};
Re: Help -
paramedic114 - 07.07.2010
Thanks Nenad, ive got account now. ive tried moving the }; in many different positions but it just dosent work, help!!
Would be highly appreciated
Tom
Re: Help -
FreshKilla - 07.07.2010
pawn Код:
new RandomFemaleSkins[52][1] = {
{9},
{10},
{11},
{38},
{39},
{40},
{54},
{55},
{56},
{63},
{64},
{75},
{76},
{77},
{85},
{87},
{88},
{90},
{93},
{131},
{130},
{138},
{139},
{141},
{145},
{148},
{149},
{152},
{157},
{169},
{172},
{178},
{190},
{192},
{193},
{194},
{199},
{198},
{201},
{207},
{211},
{215},
{219},
{225},
{226},
{233},
{237},
{244},
{246},
{251},
{257},
{263}
};
Re: Help -
paramedic114 - 07.07.2010
no no no, its not the random female skins, its the }; below "ET-Roleplay Owners: Tom_Alps & Nenad_Ivanovic",
Re: Help -
Cameltoe - 07.07.2010
remove the ","
"ET-Roleplay Owners: Tom_Alps & Nenad_Ivanovic", To:-
"ET-Roleplay Owners: Tom_Alps & Nenad_Ivanovic" and it should do the trick
Re: Help -
Nenad - 07.07.2010
Tnx man,it's fixed now
Re: Help -
paramedic114 - 07.07.2010
Thank you very much, works.
Also join the ET Roleplay Server:
94.250.102.48:7777
Re: Help -
Cameltoe - 07.07.2010
Use the server advertisement thread for advertising your server
Re: Help -
paramedic114 - 08.07.2010
hi again, ive got some music i would like to add to the CD player in ravens roleplay, for all players to hear if they have the CD player, how do i do it
Re: Help -
Cameltoe - 08.07.2010
first you need to make a variable:
new GotMusicPlayer[MAX_PLAYERS];
and when player login:
check if player have music player if player has the player then set GotMusicPlayer[playerid] = 1;
and when you play the cd player check if player has cd player with:
if (GotMusicPlayer == 1){
Doshit
}
hope you understand.