Search Results
What you're doing is checking if the player owns the vehicle, and if the player does, you're telling him it's not his vehicle. You're close. pawn Код: if(GetPlayerVehicleID(playerid) != PlayerIn...
148
What's the method of determining ownership? For a variable it's as simple as: pawn Код: if([variable] == [not owned]) return SendClientMessage(playerid, color, "You don't have the keys of this v...
148
You have a few options, you could set it on a timer, call it from a command, or whatever you would like to do. For a timer: pawn Код: //top of scriptforward ResetTimer();//in OnGameModeInitSetTim...
153
Try something like this: pawn Код: for(new a = 0; a < MAX_VEHICLES; a++) {    new bool:o = false;    for(new b = 0; b < MAX_PLAYERS; b++) if(GetPlayerVehicleID(b) == a) o = true;    i...
153
Updated GetTopFive: pawn Код: GetTopFive(team){    new num[MAX_PLAYERS], numid[MAX_PLAYERS] = {-1, -1, -1, -1, -1}, sum[5];    for(new a = 0; a < MAX_PLAYERS; a++) for(new b = 0; b < MA...
168
You're checking the distance from RBInfo[a][rX], rY and rZ but at no point are you setting them. You're setting the roadblock location in Roadblocks[i][rX], rY and rZ.
124
There must be a problem where you are setting the VehicleInfo variable. You'll have to give us that code as well.
99
Check the wiki: Quote: Originally Posted by https://sampwiki.blast.hk/wiki/Errors_List 204: symbol is assigned a value that is never used: "symbol" Similar to the previous warning. You crea...
59
pawn Код: AddStaticVehicleEx(modelid, Float:spawn_x, Float:spawn_y, Float:spawn_z, Float:angle, color1, color2, respawn_delay) If you want only landstalkers, simply change the modelid to 400 inste...
99
Hey, just stopped in for a peek, been out of the loop for a while and this is not the most efficient way to do this. I just wrote it up quick and believe it should work. *crosses fingers* Top of sc...
168
Object Offset If you have multiple objects you would like to move relevant to one another, and you don't want to go through hundreds/thousands of objects, doing the math and changing one or more val...
251
You can only add one checkpoint at a time, so for you to replace the pickups with checkpoints you'll need a checkpoint streamer. That means, create a checkpoint when your near the point the checkpoin...
112
pawn Code: if(strcmp(cmdtext, "/putzombie", 10) == true){    new id = strval(cmdtext[11]); //this is the id of the player whos team your trying to change    //just do everything with 'id', such a...
152
Then just do: pawn Code: if(strcmp(cmdtext, "/putzombie", 10) == true){    team[strval(cmdtext[11])] = 2;    return 1;} With all the extras of course :P.
152
DestroyVehicle? Just look at your pawno:
73
Change this line: pawn Код: new gTeam[MAX_PLAYERS] To: pawn Код: new gTeam[MAX_PLAYERS]; You where just missing a semicolon.
146
Generally this error means that your missing a semicolon before the error line. Thus you'll have to show us line 50 and some lines before it. Also ExeC, what does line 60 have to do with anything? ...
146
...Do what? You know those images you see on some server's websites that display information about the player? Such as their score, their total time playing, etc. Well they're actually fairly easy t...
410
I'm just gonna put an idea, though it would take a lot of work. Make a plugin to query ****** Translator. It would be slower then straight PAWN but it wouldn't take "371 years of work" to make. Als...
159