version 1.18 | version 1.19 | |||
---|---|---|---|---|
|
| |||
int val; | int val; | |||
return cfapiObject_set_property(&val, op, propcode,value); | return cfapiObject_set_property(&val, op, propcode,value); | |||
} | } | |||
void* cf_object_set_experience(object* op, sint64 exp, const char* skill, int arg) | ||||
{ | ||||
int val; | ||||
return cfapiObject_set_property(&val, op, CFAPI_OBJECT_PROP_EXP, exp, strlen(skill) > 0 ? skill : NULL, arg); | ||||
} | ||||
void cf_player_move(player* pl, int dir) | void cf_player_move(player* pl, int dir) | |||
{ | { | |||
int val; | int val; |
Legend:
|