Search Results
Is it OK to delete those unused callbacks in gamemode?
For example:
Code:
public OnVehicleMod(playerid, vehicleid, componentid)
{
return 1;
}
68
Sorry for bumping but i'm in hurry, please anyone?
195
When I add that it's compiled successfully but when i register at my server it doesn't save my account at all.
195
pawn Код:
enum pInfo{ PosX, PosY, PosZ, PosAngle}
When i add float: PosX then it shows 8 warnings.
195
pawn Код:
COMMAND:savepos(playerid, params[]){ new Float:XPos, Float:YPos, Float:ZPos, Float:AnglePos; GetPlayerPos(playerid, XPos, YPos, ZPos); GetPlayerFacingAngle(playerid, Angle...
195
Tried and always shows: warning 219: local variable "pName" shadows a variable at a preceding level
165
Yea.
Код:
warning 219: local variable "pName" shadows a variable at a preceding level
warning 219: local variable "id" shadows a variable at a preceding level
warning 219: local variable "gName" ...
165
But what about when i need to have other player name.
pawn Код:
GetPlayerName(id, gName, sizeof(gName));
Already tried but gives me some errors.
165
It's morning and I'm still sleeping so how can i create stock from these
pawn Код:
GetPlayerName(playerid, pName, sizeof(pName));
I'm tired of always typing this into my command so how can i cre...
165
Hey. I have this command
pawn Код:
COMMAND:heal(playerid, params[]){ new Price, Float: PlayerHealth, string[64]; GetPlayerHealth(playerid, PlayerHealth); Price = 100 - PlayerHealth...
73
Ranama's solution not working.
xtreamer's solution not working.
244
I just figured out that when i die in the spawned car and come back to place where its been spawned, there it is spawned.
244
But what should i give you?
pawn Код:
COMMAND:hydra(playerid, params[]){ if(IsPlayerInAnyVehicle(playerid)) { DestroyVehicle(GetPlayerVehicleID(playerid)); PutPlay...
244
Hey. This is my problem:
1. I come to some place.
2. I type /hydra
3. It spawns hydra and put me into hydra.
4. I left that place and come back later.
5. There is another hydra spawned at place where ...
244
Thank you very much. It's working just fine.
131
I have this in my script:
pawn Код:
COMMAND:world(playerid, params[]){ new w; if(sscanf(params, "i", w)) return SendClientMessage(playerid, LIGHTBLUE, "[USAGE]: /world [world]"); i...
131