i need help
#1

hi before i ask you about anythink i thank every one has teach me how to script .

now i have few quistions :

first when i want to give my friends the ip of my server it's not come for them and the ip is 127.0.0.1:7777 why the ip like this ??

And the other quistion is when i end my filterscript what i need to let his type ( i mean .AMX or .PWN ...ECT )
and what else i need to add for it for working in my GM

and other quistion ( it's for scripters ) :
i made a /buyclothes commend but i need to know what is the code let the player wear the skin if he choose a skin ? ( is the code setplayerskin(playerid) ) ?

i need answers fast

abubaker98
Reply
#2

Quote:
Originally Posted by abubaker98
Посмотреть сообщение
first when i want to give my friends the ip of my server it's not come for them and the ip is 127.0.0.1:7777 why the ip like this ??
127.0.0.1 is the server IP for your computer and it works for you only.
To give IP to others you can go to http://www.whatismyip.com
It will show the IP you can give for others.

Quote:
Originally Posted by abubaker98
Посмотреть сообщение
And the other quistion is when i end my filterscript what i need to let his type ( i mean .AMX or .PWN ...ECT )
and what else i need to add for it for working in my GM
Add your script's name to server.cfg

Quote:
Originally Posted by abubaker98
Посмотреть сообщение
and other quistion ( it's for scripters ) :
i made a /buyclothes commend but i need to know what is the code let the player wear the skin if he choose a skin ? ( is the code setplayerskin(playerid) ) ?
https://sampwiki.blast.hk/wiki/SetPlayerSkin
Reply
#3

ahh ................first did you port forward your router................u gave your local host ip.............that is 127.0.0.1:7777...this will only connect to local host.....you need to portforward your router

other question-
nothing .pwn is the source file and .amx is the compiled file.........just add the script name in server.cofig file in the GM line........


REGARDS,
Ronaldo_raul
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)