- 0
Am si eu o mica probleme
-
Similar Content
-
Recently Browsing 0 members
- No registered users viewing this page.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.
Question
Roby2234
Vreau sa incep un GM de stunt dar am cateva probleme.
Sunt incepator deci asi vrea sa nu va luati de mine.
1) Imi tot apare eroarea asta si nu stiu cum sa scap de ea:
fatal error 100: cannot read from file: "colors"
2) Nu stiu cum sa fac sa salvez deoarece atunci cand salvez in Pawn tot ce am scris se salveaza pe gamemode dar atunci cand intru pe samp nu sa modificat nimic.
Spre exemplu am facut comanda asta si pe joc nu functioneaza ( Imi zice ca comanda nu exista):
CMD:monster(playerid)
{
if(gUser[playerid][U_MODE] != MODE_FREEROAM) return GameTextForPlayer(playerid, "~r~You must be in freeroam", 5000, 3);
if(! IsPlayerSpawned(playerid)) return GameTextForPlayer(playerid, "~r~You must be spawned", 5000, 3);
new Float:pos[4];
GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
GetPlayerFacingAngle(playerid, pos[3]);
if(IsValidVehicle(gUser[playerid][U_VEHICLE])) DestroyVehicle(gUser[playerid][U_VEHICLE]);
gUser[playerid][U_VEHICLE] = CreateVehicle(444, pos[0], pos[1], pos[2] + 2.0, pos[3], random(255), random(255), -1);
LinkVehicleToInterior(gUser[playerid][U_VEHICLE], GetPlayerInterior(playerid));
SetVehicleVirtualWorld(gUser[playerid][U_VEHICLE], GetPlayerVirtualWorld(playerid));
PutPlayerInVehicle(playerid, gUser[playerid][U_VEHICLE], 0);
GameTextForPlayer(playerid, "~b~~h~~h~~h~Monster spawned", 5000, 3);
return 1;
}

Edited by Roby22347 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now