24.09.2008, 22:12
Ok,here is the problem.
When it is suppose to be saying the player name it gives a random number,here is the needed code:
Any ideas?
When it is suppose to be saying the player name it gives a random number,here is the needed code:
Код:
for(new i=0;i<MAX_PLAYERS;i++)
{
if(PlayerNameIs(i, CarNameOwner[vehicleID]))
{
new Owner[24];
GetPlayerName(i,Owner, 25);
SendClientMessage(playerid,COLOR_YELLOW,"This vehicle has been purchased from AutoBahn. You are not the owner");
format(string, sizeof(string), "This vehicle is registered to %s(%d)",Owner,i);
SendClientMessage(playerid, COLOR_YELLOW, string);

