Need Help With Car Spawner
#1

This is what i got...
Код:
dcmd_spawncar(playerid, params[]) {
		new car=strval(params);
		car = GetVehicleModelIDFromName(strval(params));
		if(car < 400 || car > 611) return SendClientMessage(playerid, red, "ERROR: Invalid Vehicle Model");
		return 1;
}
tells me this problem :
Код:
**Location Of Mah Script : error 035: argument type mismatch (argument 1)
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#2

Код:
dcmd_spawncar(playerid, params[]) {
		new car=strval(params);
		car = GetVehicleModelIDFromName(car);
		if(car < 400 || car > 611) return SendClientMessage(playerid, red, "ERROR: Invalid Vehicle Model");
		return 1;
}
try this
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)