23.08.2014, 13:13
Quiero realizar un checkpoint segun el nombre que yo le pase al array...
pawn Код:
new checkpoint[][] = {
{"Ubicacion0", {1119.4498,-1403.6545,13.3935}},
{"Ubicacion1", {1210.1755,-888.2454,42.6494}}
};
CMD:checkpoint(playerid, params[])
{
//new string[20] = "Ubicacion0";
new string[20] = "Ubicacion1";
SetPlayerCheckpoint(playerid, checkpoint[string][], 3.0); // checkpoint[string][] deberia traer 1210.1755,-888.2454,42.6494.
return 1;
}