12.05.2011, 18:21
Deve ser isso, nгo testei '-'
pawn Код:
new elegy; // Topo GM
elegy = AddStaticVehicle(...); // OnGameModeInit
pawn Код:
if(strcmp("/elegy", cmdtext, true) == 0)
{
elegy = GetPlayerVehicleID(playerid);
new Float:x, Float:y, Float:z;
GetVehiclePos(elegy, x, y, z);
new Float:x1, Float:y1, Float:z1;
GetPlayerPos(playerid, x1,y1,z1);
SetVehiclePos(playerid, x1,y1,z1);
return 1;
}