03.01.2011, 18:55
Hello everyone,im asking for some help.Is this possible?
I made a unique and AWSOME vehicle system but im confused.
This should check if the vehicle belongs to that player.
I already tried this too
But it is not working,idk why.
I made a unique and AWSOME vehicle system but im confused.
pawn Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
new newcar = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(CarInfo[newcar][cOwner] == pname )
{
I already tried this too
pawn Код:
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
new newcar = GetPlayerVehicleID(playerid);
if(newstate == PLAYER_STATE_DRIVER)
{
if(newcar == PlayerInfo[playerid][pPcarkey] )
{