Eternal Warrior Project
Allow someboby to do something Labels=0
Eternal Warrior Project
Allow someboby to do something Labels=0
Eternal Warrior Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Eternal Warrior Project

The Eternal Warrior Project Official Guild
 
HomeLatest imagesSearchRegisterLog in

 

 Allow someboby to do something

Go down 
AuthorMessage
rorqock
Guild Archon
Guild Archon
rorqock


Posts : 112
Join date : 2008-04-14
Age : 50
Location : France

Allow someboby to do something Empty
PostSubject: Allow someboby to do something   Allow someboby to do something Icon_minitimeWed Apr 23, 2008 8:42 am

Code:
int StartingConditional()
{
object oPlayer = GetLastUsedBy();
int nPlayer = 0;
string sPlayer = GetPCPlayerName(oPlayer);
if ( sPlayer == "rorqock" )
nPlayer = 1;
if(sPlayer != "rorqock")
nPlayer = 0;
if(nPlayer == 0)
return FALSE;

return TRUE;

//Add here the action that the player is allowed to do
}
Code:
Back to top Go down
http://www.myspace.com/rorqock
Guest
Guest




Allow someboby to do something Empty
PostSubject: Re: Allow someboby to do something   Allow someboby to do something Icon_minitimeThu May 01, 2008 8:20 am

Smile
Back to top Go down
 
Allow someboby to do something
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Eternal Warrior Project :: Neverwinter Nights Series :: Scripts :: Scripts ===> Objects-
Jump to: