30.07.2010, 19:58
Quote:
ok no thx iv made it my self and im not a newbie i just have some questions like you were borned already knowing everything right?
|
heres a working /nrg code anyway haven't tested but should work ..
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/nrg", cmdtext, true, 10) == 0)
{
new Float:x, Float:y, Float:z, Float:angle;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, angle);
new NRG = CreateVehicle(522, x, y, z,angle, 6, 0, 0);
PutPlayerInVehicle(playerid, NRG, 1);
return 1;
}
return 0;
}