19 lines
244 B
SourcePawn
19 lines
244 B
SourcePawn
|
|
#pragma newdecls required
|
|
|
|
enum MyType:{};
|
|
|
|
native void Print(MyType value);
|
|
native void PrintF(float value);
|
|
|
|
public void main()
|
|
{
|
|
int val = 2;
|
|
MyType otherVal = MyType:val;
|
|
|
|
float value2 = Float:val;
|
|
|
|
Print(otherVal);
|
|
PrintF(value2);
|
|
}
|