Armour
#1

Alright well, in my GameMode script I don't have armour when on spawn, so I added the /armour command. Is there another way to set it so everyone gets full armour on spawn without typing a command for it?

Код:
if (strcmp(cmdtext, "/armour", true) == 0)
{
    SetPlayerArmour(playerid, 100.0);
    SendClientMessage(playerid, 0xFFFFFFAA, "Armour restored!");
    return 1;
}
Reply
#2

Public ONPlayerSpawn

SetPlayerArmour(playerid,100);
Reply
#3

Thanks
Another problem is that when I shoot at vehicles it doesn't really do damage to it?
It shoots out the windows, thats about it
Reply
#4

Yea well. In SAMP you can't damage a car when there is no driver in the car. You can't fix that.
Reply
#5

Oh alright.
Uhm, off topic but, my server doesn't run unless I use the SA-MP server.exe
And the cmd.exe has to be open for it to run? lol
Reply
#6

You always have to run your SA-mp server.exe. Don't quit the program. If you do your server willbe offlife
Reply
#7

Alright, last question, do you know how to PortForward? I've tried many times..doesn't seem to work.
My external IP is 50.15.167.117
It only works on 192.168.2.11:7777
And I don't think there's a way to change my Virtual Servers part on my Router when it says Private IP address



I also tried to use the DMZ and you can only put 192.168.2._ as the IP address for it..
No one has solved this for me yet.
Reply
#8

This looks alright. Have you tried restarting your router?
Reply
#9

Yes. Doesn't do anything.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)