23.05.2013, 01:36
(
Последний раз редактировалось Guest123; 23.05.2013 в 02:08.
)
strcmp version
zcmd
EDIT: any bugs ?
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/malette", cmdtext, true, 10) == 0)
{
SetPlayerAttachedObject( playerid, 0, 1210, 6, 0.250000, 0.100000, 0.000000, 0.000000, 264.337768, 21.619852, 1.000000, 1.000000, 1.000000 );
return 1;
}
return 0;
}
pawn Код:
CMD:malette(playerid,params[])
{
SetPlayerAttachedObject( playerid, 0, 1210, 6, 0.250000, 0.100000, 0.000000, 0.000000, 264.337768, 21.619852, 1.000000, 1.000000, 1.000000 );
return 1;
}