weapons loads with twice as much bullets
#5

Quote:
Originally Posted by rappy93
Посмотреть сообщение
So the problem is somewhere with the loading function.

Let's debug it.

SetWeapons(playerid)
{
for (new i = 0; i < 13; i++) {
GivePlayerWeapon(playerid, playerData[playerid][gun][i], playerData[playerid][ammo][i]);
}
print("SetWeapons called!");
return 1;
}

Now please compile. Clear your server log before joining. Join the server and then exit. Post the logs here afterwards.
Yes, thanks for that. The function is called twice, I'll check the script later, but thanks for this.

Код:
[16:08:27] SetWeapons called!
[16:08:27] SetWeapons called!
Reply


Messages In This Thread
weapons loads with twice as much bullets - by thaKing - 18.09.2015, 11:02
Re: weapons loads with twice as much bullets - by rappy93 - 18.09.2015, 12:24
Re: weapons loads with twice as much bullets - by thaKing - 18.09.2015, 12:41
Re: weapons loads with twice as much bullets - by rappy93 - 18.09.2015, 12:46
Re: weapons loads with twice as much bullets - by thaKing - 18.09.2015, 13:07
Re: weapons loads with twice as much bullets - by rappy93 - 18.09.2015, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)