[help]nyrp
#1

hello everybody
1.i need help at nyrp because the topic of nyrp deleted
i want to change police station
in gf i know how to do it but in thats mode i not find the positions
2.i want to do if i on off duty my skin back to civilian
thanks for help
Reply
#2

please fast
Reply
#3

Well for the second question:

Код:
if(!strcmp(cmdtext,"/offduty",true, 8)==0)
{
  SetPlayerSkin(playerid,skinid); // you change the skin id to any civilian skin id you want.
}
Reply
#4

Quote:
Originally Posted by DJDhan
Well for the second question:

Код:
if(!strcmp(cmdtext,"/offduty",true, 8)==0)
{
  SetPlayerSkin(playerid,skinid); // you change the skin id to any civilian skin id you want.
}
yes thats i know
but i want when i do off duty the skin i buy from the clothes shop back and i dont need /offduty command because when i type two times /duty i be automatic off duty
thank you very match and help me
Reply
#5

Well, then you must be having a variable that stores the skin the player buys from the cloth shop don't you?
If so then use it to set the skin of the player. Eg:

Код:
SetPlayerSkin(playerid,PlayerInfo[playerid][skinbought]);
I can't help much since i don't know how you store the skins that players buy.

And yeah for your first question, type "/save" in-game (without the quotes) to get the co-ordinates. For eg, stand where you want the Police Station entrance icon to be, then type /save. Add a pickup in the script using those co-ordinates.
Reply
#6

Quote:
Originally Posted by DJDhan
Well, then you must be having a variable that stores the skin the player buys from the cloth shop don't you?
If so then use it to set the skin of the player. Eg:

Код:
SetPlayerSkin(playerid,PlayerInfo[playerid][skinbought]);
I can't help much since i don't know how you store the skins that players buy.

And yeah for your first question, type "/save" in-game (without the quotes) to get the co-ordinates. For eg, stand where you want the Police Station entrance icon to be, then type /save. Add a pickup in the script using those co-ordinates.
THANK YOU VERY MATCH I KNOW HOW TO DO /SAVE BUT IN GF AND LARP
AND ON NYRP ITS HARD BECAUSE THE POSITIONS SAVE ON BUILDINGS.CFG
AND IF YOU CAN HELP ME ON THE SKIN I WILL BE HAPPY I WILL PAY YOU

Reply
#7

What do you mean with the skin you mean that when you go on duty the skin change to the skin that you chose and then you type again /duty so it dont back to the skin that was before?
if yes so just use GetPlayerSkin(playerid);
if there is something I sure that is
and then when it off duty it just will back to his real skin..
Reply
#8

Quote:
Originally Posted by vladi866
What do you mean with the skin you mean that when you go on duty the skin change to the skin that you chose and then you type again /duty so it dont back to the skin that was before?
if yes so just use GetPlayerSkin(playerid);
if there is something I sure that is
and then when it off duty it just will back to his real skin..
thank you very match dude
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)