Originally posted by Quentdu675
Hi, could anyone help me?
I found this code on NGU on the MW3 game :
void Dropitem(int clientIndex, const char* Weapon) {
Scr_AddEntity(clientIndex);
Scr_AddString(Weapon);
Scr_SetNumParam(2);
((void(*)())&ParseAddr(address))();
Scr_ClearOutParams();
}
then here is my code:
void Dropitem(int clientIndex, const char* Weapon) {
Scr_AddEntity(clientIndex);
Scr_AddString(Weapon);
Scr_SetNumParam(2);
((void(*)())&ParseAddr(0x001780A0))();
Scr_ClearOutParams();
}
Dropitem(clientIndex, "famas_mp");
but it makes me bug. Help me please
I give 5$ to the one who helps me