09.07.2010, 15:19
How to make it run properly
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(strcmp(plname, VehicleInfo[veh][vOwner], true) == 0 )
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, Owner! You are right person, welcome);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, You are wrong person, GFO);
it for all players shows that they are owners of a vehicle
new plname[MAX_PLAYER_NAME];
GetPlayerName(playerid, plname, sizeof(plname));
if(strcmp(plname, VehicleInfo[veh][vOwner], true) == 0 )
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, Owner! You are right person, welcome);
return 1;
}
else
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, You are wrong person, GFO);
it for all players shows that they are owners of a vehicle