Search Results
We don't know what you have for the playing hours, so in my script I'll go ahead and assume it's AccInfo[playerid][PlayingHours].
http://pastebin.com/VjbLrSe8
250
Under OnGameModeInit, put
SetTimer("RespawnVehicles", 1800000, true);
162
If I've interpreted what you mean, you'll want to add another ShowPlayerDialog just before where it says SetSpawnInfo.
192
Have you got the stock or whatever ProxDetector in your script?
233
Right, I've been making a test gamemode and everything works fine apart from saving and spawning - everything saves but the skins and positions.
Upon login,
Код:
LoadPlayerInformation(playerid);
...
137
So I'm working on a script, and well, it's working fine apart from the /createhouse command.
The label appears and then disappears, and the pickup just doesn't get created.
Help?
Код:
CMD:createh...
123
Creating a faction would require either an enumeration or plethora of variables. Depends on how you define a faction.
215
if(strcmp("/money", cmdtext, true, 10) == 0)
{
SendClientMessageEx(playerid, COLOR_RED, "You will receive your money in five minutes.");
SetTimerEx("giveplayermoney", 30000, false, "d", pl...
174
Код:
stock GetInt(playerid, var[])
{
new file[256];
format(file, sizeof(file), "Users/%s.uf", GetName(playerid));
if(dini_Exists(file))
{
return dini_Int(file, var);
}
return 1;
}
sto...
106
Yes, it's the Tutorial1 that isn't being called.
E: The timers are on the lines ABOVE the settimer - should I move them?
137
I've been trying to fix this for hours; I've re-done it several times to no avail. Could anyone please tell me what is wrong with this? It's probably me being stupid, again...
Код:
if(pInfo[playe...
137
It's just me that can't connect - and I'm not using mods, as I reinstalled it.
260
Yes, the game works in singleplayer.
260
Alright, I fixed my previous error and now when I load sa-mp, I get this -
http://imgur.com/p7At8,LQwEp
I don't know what could be causing it - it happens both in the default and a different director...
260
I think I get what you're saying - you want your stock, let's call it X, to be called under a callback?
You would simply just do stockname(parameters); or stockname(); if there aren't any.
228
Use a_zones for that, because I don't think you can return a city name.
171
https://sampforum.blast.hk/showthread.php?tid=254915
359
Use ZCMD Processor instead, it's alot better.
163
Don't think it's possible. You can use a seasparrow which has a gun, and can be fired using CTRL, but you can't shoot from a heli.
263