Jump to content
  • 0

spawn in masina


Guest No_name

Question

Guest No_name

Salut as la sv meu comanda de spawn car cam asa

if(strcmp(cmdtext, "/dumper", true) == 0) {

CarSpawner(playerid,406);

SendClientMessage(playerid, COLOR_YELLOW, "Dumper Spawned");

return 1;

}

Cum o pot modifica ca sa ma spawneze direct in masina?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

if(strcmp(cmdtext, "/dumper", true) == 0) {

AddCar(playerid, 406);

return 1;

}

stock AddCar(playerid, carid)

{

new Float:X, Float:Y, Float:Z, nrg;

GetPlayerPos(playerid, X, Y, Z);

car = CreateVehicle(carid, X, Y, Z, 0.0, -1, -1, -1);

PutPlayerInVehicle(playerid, car, 0);

return 1;

}

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Link to comment
Share on other sites

Guest No_name

C:\Documents and Settings\PuyaSalajan\Desktop\filterscripts\carcmds.pwn(864) : error 017: undefined symbol "AddCar"

C:\Documents and Settings\PuyaSalajan\Desktop\filterscripts\carcmds.pwn(868) : error 017: undefined symbol "car"

C:\Documents and Settings\PuyaSalajan\Desktop\filterscripts\carcmds.pwn(868) : error 017: undefined symbol "carid"

C:\Documents and Settings\PuyaSalajan\Desktop\filterscripts\carcmds.pwn(869) : error 017: undefined symbol "car"

>:( >:( >:(

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

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.