13.06.2010, 20:07
Suppose you have two arrays and you want to copy the contents of one array into another:
Not tested but should work.
Another way is send the playerid that rented the car to a function where you get the name of the player in a different array.
Код:
new pname[30];
new qname[30];
GetPlayerName(playerid,pname,sizeof(pname));
for(new i=0;i <= strlen(pname);i++)
{
pname[i]=qname[i];
}
Another way is send the playerid that rented the car to a function where you get the name of the player in a different array.

