#1

Wont SetPlayers CP

pawn Код:
//upper
new Float:MatsCPed[3][3] = {
{122.0939,-186.6473,1.4401},
{1349.7599,242.7418,19.4297},
{2338.0352,67.4235,26.3571}
};


// in function
new rand = random(sizeof(MatsCPed));
SetPlayerCheckpoint(playerid, MatsCPed[rand][0],MatsCPed[rand][1],MatsCPed[rand][2],5.0);

annd... if maximum is 3 of random it will take 0 ?
Reply


Messages In This Thread
Cps. - by GaGlets(R) - 05.08.2010, 08:39
Re: Cps. - by WackoX - 05.08.2010, 08:43
Re: Cps. - by ikey07 - 05.08.2010, 08:43
Re: Cps. - by GaGlets(R) - 05.08.2010, 08:47
Re: Cps. - by GaGlets(R) - 05.08.2010, 08:58

Forum Jump:


Users browsing this thread: 1 Guest(s)