13.08.2014, 08:09
Hello .. Iam asking , this code not save after player logout , How do I make a save that player logout and login again remain the neon. Please help
Sorry for my bad english

Sorry for my bad english
pawn Код:
CMD:blueneon(playerid, params[])
{
if(PlayerInfo[playerid][pMember] == 14||PlayerInfo[playerid][pLeader]==14)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetPVarInt(playerid, "neon", 1);
SetPVarInt(playerid, "blue", CreateObject(18648,0,0,0,0,0,0));
SetPVarInt(playerid, "blue1", CreateObject(18648,0,0,0,0,0,0));
AttachObjectToVehicle(GetPVarInt(playerid, "blue"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
AttachObjectToVehicle(GetPVarInt(playerid, "blue1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
GameTextForPlayer(playerid, "~b~ Blue ~w~Neon has been added to your vehicle",3500,5);
}
}
return 1;
}