09.12.2009, 19:00
Hi erveryone ,
I want to create a command with GetPlayerWeaponData(...) which saves the current weapon setting
it should be called like /wsave
and also i want to make a command which loads the saved weapon setting with a command like
/wload ...
But GetPlayerWeaponData has also the slots in its function ...
how to use them in the GivePlayerWeapon function ?
could someone help me creating these ?
LG Bearfist
I want to create a command with GetPlayerWeaponData(...) which saves the current weapon setting
it should be called like /wsave
and also i want to make a command which loads the saved weapon setting with a command like
/wload ...
Код:
new weapons[13][2]; for (new i = 0; i < 13; i++) { GetPlayerWeaponData(playerid, i, weapons[i][0], weapons[i][1]); }
Код:
GivePlayerWeapon(playerid, , );
how to use them in the GivePlayerWeapon function ?
could someone help me creating these ?
LG Bearfist