SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 24/06/2011, 03:29 PM   #31
Ivan_Pantovic
Huge Clucker
 
Ivan_Pantovic's Avatar
 
Join Date: Apr 2010
Location: Belgrade, Serbia
Posts: 474
Reputation: 12
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by datzik View Post
Okay, now i am so far, that after death player will spawn in hospital but how to set time what player need to spend in hospital to rest?

If someone can answer to that then i dont do offtopic any more in this topic.

EDIT: And how i can do so, that after that hospitaltime player spawns in front of Los Santose Hospital?
Okay, I don't have anything important to do now, so ill script this for you, but you will need to get coordinates on your own (btw, do you mean sf hospital, cus whole script is in San Fierro?)
Find "new pCode[MAX_PLAYERS];" and add bellow it:
Code:
new TimeInHospitalLeft[MAX_PLAYERS] = 0;
Find: "public OnPlayerDeath(playerid)"
Add bellow {:
Code:
 TimeInHospitalLeft[playerid] = CHANGE WITH SECONDS PLAYER NEEDS TO BE IN HOSPITAL(for 20 secs type 20) ;
Find: "SetPlayerPos(playerid,1489.5615,-2624.0845,291.6370);" and change "1489.5615,-2624.0845,291.6370" with coordinates of the Hospital interior entrance.

Find: "SetPlayerUnjail" and add bellow "{"
Code:
if(TimeInHospitalLeft[playerid] > 1)
{
 TimeInHospitalLeft[playerid] --;
}
else if(TimeInHospitalLeft[playerid] == 1)
{
 SetPlayerPos(playerid, COORDINATES,FOR OUT,OF THE HOSPITAL);
}
__________________
Scripting pro User Control Panels for MYSQL servers (I can also make ucp with file saving systems, but it will cost you more as it takes me a lot more time). Price info. NOTE: These prices are rounded, contact with details for exact price.

I also have a fully done great RP script (100% MYSQL, awesome UCP, used it over a year without any problems on my server LSL-RP.COM (not an edit of the script released as "los santos life"), no bugs, truly unique features. (about 40 pounds, contact me for more info)
Code:
Mega RolePlay+UCP - not supporting this script anymore. Download: http://ivanorezac.blogspot.com/2012/...-roleplay.html
Ivan_Pantovic is offline   Reply With Quote
Old 24/06/2011, 03:48 PM   #32
Ryan Collin
Little Clucker
 
Join Date: Jun 2011
Posts: 31
Reputation: 0
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

I rather use Raven's RP then this!
Ryan Collin is offline   Reply With Quote
Old 24/06/2011, 03:48 PM   #33
admantis
High-roller
 
admantis's Avatar
 
Join Date: Sep 2009
Posts: 2,097
Reputation: 175
Default Respuesta: Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by Ryan Collin View Post
I rather use Raven's RP then this!
That's good, no? Now go away.

We did a good job there Ivan.
admantis is online now   Reply With Quote
Old 24/06/2011, 04:12 PM   #34
LZLo
Gangsta
 
LZLo's Avatar
 
Join Date: Jul 2010
Location: Central Europe
Posts: 546
Reputation: 21
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by Ryan Collin View Post
I rather use Raven's RP then this!
/don't be rude/


nice script!
__________________

CCFH 2.0 is out now! (http://img339.imageshack.us/slidesho...908079fgd.smil)
DOUBLE LANGUAGE! (ENGLISH& Hungarian)!
PAWN scripting since 2006

I would mention something. If i could help please just click near my profile.
LZLo is offline   Reply With Quote
Old 24/06/2011, 04:54 PM   #35
a2zaslam
Little Clucker
 
Join Date: Jun 2011
Posts: 4
Reputation: 0
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

it shows run time error
a2zaslam is offline   Reply With Quote
Old 24/06/2011, 04:59 PM   #36
Ivan_Pantovic
Huge Clucker
 
Ivan_Pantovic's Avatar
 
Join Date: Apr 2010
Location: Belgrade, Serbia
Posts: 474
Reputation: 12
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by admantis View Post
That's good, no? Now go away.

We did a good job there Ivan.
True . Talk to you on msn about this.
Quote:
Originally Posted by LZLo View Post
/don't be rude/


nice script!
Thanks.

Quote:
Originally Posted by a2zaslam View Post
it shows run time error
What error, could you coppy the text from the log?
__________________
Scripting pro User Control Panels for MYSQL servers (I can also make ucp with file saving systems, but it will cost you more as it takes me a lot more time). Price info. NOTE: These prices are rounded, contact with details for exact price.

I also have a fully done great RP script (100% MYSQL, awesome UCP, used it over a year without any problems on my server LSL-RP.COM (not an edit of the script released as "los santos life"), no bugs, truly unique features. (about 40 pounds, contact me for more info)
Code:
Mega RolePlay+UCP - not supporting this script anymore. Download: http://ivanorezac.blogspot.com/2012/...-roleplay.html
Ivan_Pantovic is offline   Reply With Quote
Old 24/06/2011, 05:03 PM   #37
Ricop522
High-roller
 
Ricop522's Avatar
 
Join Date: Feb 2010
Location: ES
Posts: 2,699
Reputation: 148
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

I need to put the UCP on the host?
Or I can acess the host by FTP ?
__________________
"Any fool can write code that a
computer can understand. Good
programmers write code that
humans can understand."

Cuidado com a inveja......
Ricop522 is offline   Reply With Quote
Old 24/06/2011, 05:14 PM   #38
Ivan_Pantovic
Huge Clucker
 
Ivan_Pantovic's Avatar
 
Join Date: Apr 2010
Location: Belgrade, Serbia
Posts: 474
Reputation: 12
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by Ricop522 View Post
I need to put the UCP on the host?
Or I can acess the host by FTP ?
FTP function isn't included, but its not really hard to make it if you follow online php and ftp tutorials.
__________________
Scripting pro User Control Panels for MYSQL servers (I can also make ucp with file saving systems, but it will cost you more as it takes me a lot more time). Price info. NOTE: These prices are rounded, contact with details for exact price.

I also have a fully done great RP script (100% MYSQL, awesome UCP, used it over a year without any problems on my server LSL-RP.COM (not an edit of the script released as "los santos life"), no bugs, truly unique features. (about 40 pounds, contact me for more info)
Code:
Mega RolePlay+UCP - not supporting this script anymore. Download: http://ivanorezac.blogspot.com/2012/...-roleplay.html
Ivan_Pantovic is offline   Reply With Quote
Old 24/06/2011, 05:54 PM   #39
a2zaslam
Little Clucker
 
Join Date: Jun 2011
Posts: 4
Reputation: 0
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

yes i copied all files of yours to samp creator
but it shows : (gamemode/M-RP.amx) run time error 19 : "file or function not found"
it may be my fault,plz help
a2zaslam is offline   Reply With Quote
Old 24/06/2011, 06:10 PM   #40
Ivan_Pantovic
Huge Clucker
 
Ivan_Pantovic's Avatar
 
Join Date: Apr 2010
Location: Belgrade, Serbia
Posts: 474
Reputation: 12
Default Re: Mega RolePlay [San Fierro] [UCP included] [officially released by Mega-Rp(.com) owners]

Quote:
Originally Posted by a2zaslam View Post
yes i copied all files of yours to samp creator
but it shows : (gamemode/M-RP.amx) run time error 19 : "file or function not found"
it may be my fault,plz help
Did you use the server.cfg file i put in the archive?
__________________
Scripting pro User Control Panels for MYSQL servers (I can also make ucp with file saving systems, but it will cost you more as it takes me a lot more time). Price info. NOTE: These prices are rounded, contact with details for exact price.

I also have a fully done great RP script (100% MYSQL, awesome UCP, used it over a year without any problems on my server LSL-RP.COM (not an edit of the script released as "los santos life"), no bugs, truly unique features. (about 40 pounds, contact me for more info)
Code:
Mega RolePlay+UCP - not supporting this script anymore. Download: http://ivanorezac.blogspot.com/2012/...-roleplay.html
Ivan_Pantovic 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
[GameMode] [GM] Mega Roleplay SewoN Gamemode Scripts 44 22/09/2012 06:14 AM


All times are GMT. The time now is 10:04 PM.


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