Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: yazeen on March 02, 2011, 08:11:47 am
-
im making a rpg server here are my doubt
. how to block the way just like sharks vs mario we cant go out
.viewing reports in server after posting reports [only for admins] delete report command too
.What is setanim command ?what is its use ?
.property making system in server eg:!addprop villa 50200
.taking food for hp in pizza corner after buying wth cash same thing with drugs at docks after logout and next login the items should be with the player
plse help
New questions added
.What is use of settimer and give me an example
there are many more questions but i forgot!!!
ill update it here when i get some questions thx in advance
;D
-
how to block the way just like sharks vs mario we cant go out
SetWorldsBound() in gamemode init :D
or else use Shadow PlayerToPoint(30,i,x,y,z);
copy and paste healall from gups and edit it with
if(PlayerToPoint(30,i,x,y,z) == 0) {
setplayerpos(bla bla);
}
and set timer in gamemode init
SetTimer("Playersinarea",500,1);
.viewing reports in server after posting reports [only for admins] delete report command too
i need this too but i made reporting system i need how to check reports in game and delete i need this too
"Dini_Get something like"
.What is setanim command ?what is its use ?
Set Player Animation O_o like we type /do 4 or /sell it shows player doing somthing
in Pawn it is BUGGED
.property making system in server eg:!addprop villa 50200
Gups has that But adding props while server running with pawn not possible u may manually add pickups of props but with mIRC its possible while server running u can add pickups
.taking food for hp in pizza corner after buying wth cash same thing with drugs at docks after logout and next login the items should be with the player
Cool i need it too
-
how to block the way just like sharks vs mario we cant go out
SetWorldsBound() in gamemode init :D
or else use Shadow PlayerToPoint(30,i,x,y,z);
copy and paste healall from gups and edit it with
if(PlayerToPoint(30,i,x,y,z) == 0) {
setplayerpos(bla bla);
}
and set timer in gamemode init
SetTimer("Playersinarea",500,1);
.viewing reports in server after posting reports [only for admins] delete report command too
i need this too but i made reporting system i need how to check reports in game and delete i need this too
"Dini_Get something like"
.What is setanim command ?what is its use ?
Set Player Animation O_o like we type /do 4 or /sell it shows player doing somthing
in Pawn it is BUGGED
.property making system in server eg:!addprop villa 50200
Gups has that But adding props while server running with pawn not possible u may manually add pickups of props but with mIRC its possible while server running u can add pickups
.taking food for hp in pizza corner after buying wth cash same thing with drugs at docks after logout and next login the items should be with the player
Cool i need it too
thanks man
-
8)
-
I will post my answer to the last question when I will reach my home.I will give some that can help :D
new pizzas[MAX_PLAYERS];
forward SetPlayerMoneyLoss(playerid,ammount);
public SetPlayerMoneyLoss(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash-ammount);
/*new string[256];
format(string,sizeof(string),"You lost $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash-ammount;
}
Made by me in 2 mins.
forward SetPlayerMoneyAdds(playerid,ammount);
public SetPlayerMoneyAdds(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash+ammount);
/*new string[256];
format(string,sizeof(string),"You gained $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash+ammount;
}
also made by me in a few minutes.Those can help you :D
-
I will post my answer to the last question when I will reach my home.I will give some that can help :D
new pizzas[MAX_PLAYERS];
forward SetPlayerMoneyLoss(playerid,ammount);
public SetPlayerMoneyLoss(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash-ammount);
/*new string[256];
format(string,sizeof(string),"You lost $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash-ammount;
}
Made by me in 2 mins.
forward SetPlayerMoneyAdds(playerid,ammount);
public SetPlayerMoneyAdds(playerid,ammount)
{
new cash; cash = GetPlayerMoney(playerid);
SetPlayerMoney(playerid,cash+ammount);
/*new string[256];
format(string,sizeof(string),"You gained $%d",ammount);
SendClientMessage(playerid,00000xFF,string);
*/
// To un-comment just delete the /* and */
return cash+ammount;
}
also made by me in a few minutes.Those can help you :D
u didnt reach home? :D
-
New question added plse help guys
-
Please say how to find world bound i heard there is a software called jacob's World Boundaries tool
but no download link plse help !!! :)
-
Wtf invalid index bad parameter error comes while hosting me server in the srv screen when i connect to server it crashes plse help me
-
Man did you just added Createpickup thing..Remove it! its not in R2 0.3z maybe in 0.4
-
Man did you just added Createpickup thing..Remove it! its not in R2 0.3z maybe in 0.4
Create pickup OOO wtf
Addstaticpickup?
-
any other thing ??
-
any other thing ??
Hey thx it worked anyway to addpickups? :(
-
AddStaticPickup(id,model,x,y,z,ammo);
-
in what??
-
AddStaticPickup(id,model,x,y,z,ammo);
How to make respawn time Big[h] im using old version