02.01.2010, 19:15
Hi, i got a problem when i am making a command with SetPlayerWeapons,
Here is the code:
And here is the error:
C:\Users\\Downloads\samp03asvr_R4_win32\game modes\lvdm.pwn(225) : error 004: function "SetPlayerWeapons" is not implemented
And yes, i did "forward SetPlayerWeapons(playerid);"
Here is the code:
Код:
if(strcmp(cmd, "/dm2exit", true) == 0) { SetPlayerPos(playerid,-1409.97,-307.57,14.14); { SetPlayerInterior(playerid,0); SetPlayerWeapons(playerid, 0, 0); SendClientMessage(playerid, COLOR_RED, "You just left DM arena 2! "); GetPlayerName(playerid,sendername,sizeof(sendername)); format(string, 256, "**DM2** %s has left DM arena 2!",sendername); SendClientMessageToAll(COLOR_GREEN,string); return 1; } }
C:\Users\\Downloads\samp03asvr_R4_win32\game modes\lvdm.pwn(225) : error 004: function "SetPlayerWeapons" is not implemented
And yes, i did "forward SetPlayerWeapons(playerid);"