Hello guys! After release pawno version I began to work on RPG mod. But when creating confronted with such problems:
GivePlayerMoney - function does not work
CreateVehicle - creates a car, but you can see only after rejoining to serv
ResetPlayerMoney - not working
PutPlayerInVehicle and PutDirectlyInVehicle absolutely the same function. Why? In addition, they do not work if you are already in the car.
SetVehiclePos - does not work if you sit in this car
SetPlayerSkin - not working
SetVehicleDoorsStatus (vehicleid, bool);
SetVehicleAlarm (vehicleid, bool);
GetWeaponName
ChangeVehicleColor
not working ...
GameModeExit(); - leads to server crash
IsPlayerInVehicle - leads to server crash
I hope that functions will be work in future.
Other bugs:
Spawn Func: I think player must be spawned once in game. And after player spawn vc-mp by default always give start money 2000. This is unnecessary.
Request Class: In callback OnGameModeInit i always must add SetPlayerStartPos. Why? Make easier such as a sa-mp.
Just add SetPlayerPos func in callback OnPlayerSpawn
Events:
All events written by default. This is unnecessary, because developers wanna set personal text.
Interiors:
SetPlayerInterior and GetPlayerInterior are not implemented
add DisableInteriorEnterExits func as in sa-mp. I think any devs wanna disable default entrances.
Player Positions:
why this function needs the angle of rotation?
add function SetPlayerZAngle as in sa-mp
Camera Func:
Why all camera functions have not playerid parametr?
Vehicle Functions:
I think it lacks some useful functions as...
GetVehicleModel
GetVehicleColor
Later i will write other bugs.
GivePlayerMoney - function does not work
CreateVehicle - creates a car, but you can see only after rejoining to serv
ResetPlayerMoney - not working
PutPlayerInVehicle and PutDirectlyInVehicle absolutely the same function. Why? In addition, they do not work if you are already in the car.
SetVehiclePos - does not work if you sit in this car
SetPlayerSkin - not working
SetVehicleDoorsStatus (vehicleid, bool);
SetVehicleAlarm (vehicleid, bool);
GetWeaponName
ChangeVehicleColor
not working ...
GameModeExit(); - leads to server crash
IsPlayerInVehicle - leads to server crash
I hope that functions will be work in future.
Other bugs:
Spawn Func: I think player must be spawned once in game. And after player spawn vc-mp by default always give start money 2000. This is unnecessary.
Request Class: In callback OnGameModeInit i always must add SetPlayerStartPos. Why? Make easier such as a sa-mp.
Just add SetPlayerPos func in callback OnPlayerSpawn
Events:
All events written by default. This is unnecessary, because developers wanna set personal text.
Interiors:
SetPlayerInterior and GetPlayerInterior are not implemented
add DisableInteriorEnterExits func as in sa-mp. I think any devs wanna disable default entrances.
Player Positions:
why this function needs the angle of rotation?
add function SetPlayerZAngle as in sa-mp
Camera Func:
Why all camera functions have not playerid parametr?
Vehicle Functions:
I think it lacks some useful functions as...
GetVehicleModel
GetVehicleColor
Later i will write other bugs.